You are here

function forena_library in Forena Reports 7.4

Implements hook_library().

File

./forena.module, line 423

Code

function forena_library() {
  $m_path = drupal_get_path('module', 'forena');
  $libraries['ajax'] = array(
    'title' => 'Forena Ajax API',
    'version' => '7.x-4.x',
    'js' => array(
      $m_path . '/js/forena-ajax.js' => array(
        'weight' => 15,
      ),
    ),
    'dependencies' => array(
      array(
        'system',
        'drupal.ajax',
      ),
    ),
  );
  return $libraries;
}