updated core to 7.54
This commit is contained in:
@@ -2050,6 +2050,22 @@ function hook_system_theme_info() {
|
||||
return $themes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return additional theme engines provided by modules.
|
||||
*
|
||||
* This hook is invoked from _system_rebuild_theme_data() and allows modules to
|
||||
* register additional theme engines outside of the regular 'themes/engines'
|
||||
* directories of a Drupal installation.
|
||||
*
|
||||
* @return
|
||||
* An associative array. Each key is the system name of a theme engine and
|
||||
* each value is the corresponding path to the theme engine's .engine file.
|
||||
*/
|
||||
function hook_system_theme_engine_info() {
|
||||
$theme_engines['izumi'] = drupal_get_path('module', 'mymodule') . '/izumi/izumi.engine';
|
||||
return $theme_engines;
|
||||
}
|
||||
|
||||
/**
|
||||
* Alter the information parsed from module and theme .info files
|
||||
*
|
||||
|
Reference in New Issue
Block a user