Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Implements hook_library_alter().
- */
- function seven_library_alter(&$attachment, $extension) {
- if ($extension == 'core/drupal.vertical-tabs') {
- foreach ($attachment['css'] as $key => $css) {
- if ($css['data'] == 'core/misc/vertical-tabs.css') {
- $attachment['css'][$key]['data'] = 'core/themes/seven/css/components/vertical-tabs.css';
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement