Révision c9e51f47
Ajouté par Julien Enselme il y a environ 7 ans
drupal7/modules/system/system.api.php | ||
---|---|---|
2050 | 2050 |
return $themes; |
2051 | 2051 |
} |
2052 | 2052 |
|
2053 |
/** |
|
2054 |
* Return additional theme engines provided by modules. |
|
2055 |
* |
|
2056 |
* This hook is invoked from _system_rebuild_theme_data() and allows modules to |
|
2057 |
* register additional theme engines outside of the regular 'themes/engines' |
|
2058 |
* directories of a Drupal installation. |
|
2059 |
* |
|
2060 |
* @return |
|
2061 |
* An associative array. Each key is the system name of a theme engine and |
|
2062 |
* each value is the corresponding path to the theme engine's .engine file. |
|
2063 |
*/ |
|
2064 |
function hook_system_theme_engine_info() { |
|
2065 |
$theme_engines['izumi'] = drupal_get_path('module', 'mymodule') . '/izumi/izumi.engine'; |
|
2066 |
return $theme_engines; |
|
2067 |
} |
|
2068 |
|
|
2053 | 2069 |
/** |
2054 | 2070 |
* Alter the information parsed from module and theme .info files |
2055 | 2071 |
* |
Formats disponibles : Unified diff
Udpate to 7.54