You are here

function faqfield_library in FAQ Field 7

Implements hook_library().

File

./faqfield.module, line 520
FAQ Field Provides a field for frequently asked questions.

Code

function faqfield_library() {
  return array(
    'accordion' => array(
      'title' => 'FAQField Accordion',
      'version' => '1.2',
      'js' => array(
        drupal_get_path('module', 'faqfield') . '/js/faqfield.accordion.js' => array(),
      ),
      'dependencies' => array(
        array(
          'system',
          'ui.accordion',
        ),
      ),
    ),
  );
}