root / drupal7 / sites / all / modules / libraries / tests / themes / libraries_test_theme / template.php @ 27945136
1 |
<?php
|
---|---|
2 |
|
3 |
/**
|
4 |
* @file
|
5 |
* Libraries test theme.
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
* Implements hook_libraries_info().
|
10 |
*/
|
11 |
function libraries_test_theme_libraries_info() { |
12 |
$libraries['example_theme'] = array( |
13 |
'name' => 'Example theme', |
14 |
'theme_altered' => FALSE, |
15 |
); |
16 |
$libraries['example_theme_integration_files'] = array( |
17 |
'name' => 'Example theme integration file', |
18 |
'library path' => drupal_get_path('module', 'libraries') . '/tests/libraries/example', |
19 |
'version' => '1', |
20 |
'integration files' => array( |
21 |
'libraries_test_theme' => array( |
22 |
'js' => array('libraries_test_theme.js'), |
23 |
'css' => array('libraries_test_theme.css'), |
24 |
'php' => array('libraries_test_theme.inc'), |
25 |
), |
26 |
), |
27 |
); |
28 |
return $libraries; |
29 |
} |
30 |
|
31 |
/**
|
32 |
* Implements hook_libraries_info_alter().
|
33 |
*/
|
34 |
function libraries_test_theme_libraries_info_alter(&$libraries) { |
35 |
$libraries['example_theme']['theme_altered'] = TRUE; |
36 |
} |