Advertisement
Guest User

Untitled

a guest
May 25th, 2015
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. /**
  2. * Implements hook_library_alter().
  3. */
  4. function seven_library_alter(&$attachment, $extension) {
  5. if ($extension == 'core/drupal.vertical-tabs') {
  6. foreach ($attachment['css'] as $key => $css) {
  7. if ($css['data'] == 'core/misc/vertical-tabs.css') {
  8. $attachment['css'][$key]['data'] = 'core/themes/seven/css/components/vertical-tabs.css';
  9. }
  10. }
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement