function contextual_library

Implements hook_library().

File

modules/contextual/contextual.module, line 41

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.