You are here

function organigrams_library in Organigrams 7

Implements hook_library().

File

./organigrams.module, line 914
Defines the organigrams functions and entity types.

Code

function organigrams_library() {
  $libraries = array();

  // Orgchart.
  $libraries['orgchart'] = array(
    'title' => 'Orgchart',
    'version' => '1.14',
    'js' => array(
      drupal_get_path('module', 'organigrams') . '/libraries/orgchart/orgchart.js' => array(),
    ),
    'dependencies' => array(
      // Require jQuery core.
      array(
        'system',
        'jquery',
      ),
    ),
  );
  return $libraries;
}