You are here

function nyan_cat_init in Drupal 8

Same name and namespace in other branches
  1. 7 modules/simpletest/tests/themes/engines/nyan_cat/nyan_cat.engine \nyan_cat_init()
  2. 9 core/modules/system/tests/themes/engines/nyan_cat/nyan_cat.engine \nyan_cat_init()

Includes .theme file from themes.

Parameters

\Drupal\Core\Extension\Extension $theme: The theme extension object.

File

core/modules/system/tests/themes/engines/nyan_cat/nyan_cat.engine, line 16
Handles integration of Nyan cat templates because we love kittens.

Code

function nyan_cat_init(Extension $theme) {
  $theme
    ->load();
}