function nyan_cat_theme
Same name in other branches
- 7.x modules/simpletest/tests/themes/engines/nyan_cat/nyan_cat.engine \nyan_cat_theme()
- 8.9.x core/modules/system/tests/themes/engines/nyan_cat/nyan_cat.engine \nyan_cat_theme()
- 10 core/modules/system/tests/themes/engines/nyan_cat/nyan_cat.engine \nyan_cat_theme()
- 11.x core/modules/system/tests/themes/engines/nyan_cat/nyan_cat.engine \nyan_cat_theme()
Implements hook_theme().
File
-
core/
modules/ system/ tests/ themes/ engines/ nyan_cat/ nyan_cat.engine, line 23
Code
function nyan_cat_theme($existing, $type, $theme, $path) {
$templates = drupal_find_theme_functions($existing, [
$theme,
]);
$templates += drupal_find_theme_templates($existing, '.nyan-cat.html', $path);
return $templates;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.