function nyan_cat_init

Same name in other branches
  1. 7.x modules/simpletest/tests/themes/engines/nyan_cat/nyan_cat.engine \nyan_cat_init()
  2. 8.9.x 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

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.