function contextual_library
7.x contextual.module | contextual_library() |
Implements hook_library().
File
- drupal-7.x/
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;
}