You are here

function charts_library in Charts 7.2

Implements hook_library().

File

./charts.module, line 143
Provides elements for rendering charts and Views integration.

Code

function charts_library() {
  $library['charts.admin'] = array(
    'title' => t('Charts admin integration'),
    'version' => '1.0',
    'js' => array(
      array(
        'data' => drupal_get_path('module', 'charts') . '/js/charts.admin.js',
        'type' => 'file',
        'weight' => 10,
      ),
    ),
  );
  return $library;
}