Révision 96a203dd
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/sites/all/modules/ctools/includes/utility.inc | ||
---|---|---|
29 | 29 |
} |
30 | 30 |
} |
31 | 31 |
} |
32 |
|
|
33 |
/** |
|
34 |
* Implementation of hook_theme_registry_alter() |
|
35 |
*/ |
|
36 |
function ctools_theme_registry_alter(&$registry) { |
|
37 |
// Move this one last last last so it can catch changes made by modules and themes. |
|
38 |
$key = array_search('ctools_preprocess_page', $registry['page']['preprocess functions']); |
|
39 |
if ($key) { |
|
40 |
unset($registry['page']['preprocess functions'][$key]); |
|
41 |
} |
|
42 |
$registry['page']['preprocess functions'][] = 'ctools_preprocess_page'; |
|
43 |
} |
|
44 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules