You are here

function libraries_test_theme_libraries_info in Libraries API 7.3

Same name and namespace in other branches
  1. 7.2 tests/themes/libraries_test_theme/template.php \libraries_test_theme_libraries_info()

Implements hook_libraries_info().

File

tests/themes/libraries_test_theme/template.php, line 11
Libraries test theme.

Code

function libraries_test_theme_libraries_info() {
  $libraries['example_theme'] = array(
    'name' => 'Example theme',
    'theme_altered' => FALSE,
  );
  $libraries['example_theme_integration_files'] = array(
    'name' => 'Example theme integration file',
    'library path' => drupal_get_path('module', 'libraries') . '/tests/libraries/example',
    'version' => '1',
    'integration files' => array(
      'libraries_test_theme' => array(
        'js' => array(
          'libraries_test_theme.js',
        ),
        'css' => array(
          'libraries_test_theme.css',
        ),
        'php' => array(
          'libraries_test_theme.inc',
        ),
      ),
    ),
  );
  return $libraries;
}