Révision c9e51f47
Ajouté par Julien Enselme il y a environ 7 ans
drupal7/modules/system/system.module | ||
---|---|---|
2521 | 2521 |
|
2522 | 2522 |
// Find theme engines |
2523 | 2523 |
$engines = drupal_system_listing('/^' . DRUPAL_PHP_FUNCTION_PATTERN . '\.engine$/', 'themes/engines'); |
2524 |
// Allow modules to add further theme engines. |
|
2525 |
if ($module_engines = module_invoke_all('system_theme_engine_info')) { |
|
2526 |
foreach ($module_engines as $name => $theme_engine_path) { |
|
2527 |
$engines[$name] = (object) array( |
|
2528 |
'uri' => $theme_engine_path, |
|
2529 |
'filename' => basename($theme_engine_path), |
|
2530 |
'name' => $name, |
|
2531 |
); |
|
2532 |
} |
|
2533 |
} |
|
2524 | 2534 |
|
2525 | 2535 |
// Set defaults for theme info. |
2526 | 2536 |
$defaults = array( |
Formats disponibles : Unified diff
Udpate to 7.54