You are here

function nyan_cat_theme in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/themes/engines/nyan_cat/nyan_cat.engine \nyan_cat_theme()
  2. 7 modules/simpletest/tests/themes/engines/nyan_cat/nyan_cat.engine \nyan_cat_theme()
  3. 9 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 13
Handles integration of Nyan cat templates because we love kittens.

Code

function nyan_cat_theme($existing, $type, $theme, $path) {
  return drupal_find_theme_templates($existing, '.nyan-cat.html', $path);
}