summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-25 21:16:31 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-25 21:16:31 +0000
commit2c7e1f2a41ce1af8e582b540a3b580955c26c0d0 (patch)
treee98fac38ae876a9b2ba9f13845ce313165651ddc /modules/system
parentb1cf3f1d26f9fd177548f5305f104c2d8d8df90e (diff)
downloadbrdo-2c7e1f2a41ce1af8e582b540a3b580955c26c0d0.tar.gz
brdo-2c7e1f2a41ce1af8e582b540a3b580955c26c0d0.tar.bz2
#505084 by Rob Loach: Added an #attached_library() FAPI property for drupal_add_library(), for consistency with #attached_css and #attached_js.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.module13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index 274558e0d..a4c0a600d 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -931,6 +931,19 @@ function system_library() {
),
);
+ // Vertical Tabs.
+ $libraries['vertical-tabs'] = array(
+ 'title' => 'Vertical Tabs',
+ 'website' => 'http://drupal.org/node/323112',
+ 'version' => '1.0',
+ 'js' => array(
+ 'misc/vertical-tabs.js' => array(),
+ ),
+ 'css' => array(
+ 'misc/vertical-tabs.css' => array(),
+ ),
+ );
+
// Farbtastic.
$libraries['farbtastic'] = array(
'title' => 'Farbtastic',