function contextual_library
contextual_library()
Implements hook_library().
File
- modules/contextual/contextual.module, line 41
- Adds contextual links to perform actions related to elements on a page.
Code
function contextual_library() { $path = drupal_get_path('module', 'contextual'); $libraries['contextual-links'] = array( 'title' => 'Contextual links', 'website' => 'http://drupal.org/node/473268', 'version' => '1.0', 'js' => array( $path . '/contextual.js' => array(), ), 'css' => array( $path . '/contextual.css' => array(), ), ); return $libraries; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!contextual!contextual.module/function/contextual_library/7.x