TestThemeNyanCatEngineHooks.php

Same filename and directory in other branches
  1. main core/modules/system/tests/themes/test_theme_nyan_cat_engine/src/Hook/TestThemeNyanCatEngineHooks.php

Namespace

Drupal\test_theme_nyan_cat_engine\Hook

File

core/modules/system/tests/themes/test_theme_nyan_cat_engine/src/Hook/TestThemeNyanCatEngineHooks.php

View source
<?php

declare (strict_types=1);
namespace Drupal\test_theme_nyan_cat_engine\Hook;

use Drupal\Core\Hook\Attribute\Hook;

/**
 * Hook implementations for test_theme_nyan_cat_engine.
 */
class TestThemeNyanCatEngineHooks {
  // cspell:ignore nyan
  
  /**
   * Implements hook_preprocess_theme_test_template_test().
   */
  public function preprocessThemeTestTemplateTest(&$variables) : void {
    $variables['kittens'] = 'All of them';
  }

}

Classes

Title Deprecated Summary
TestThemeNyanCatEngineHooks Hook implementations for test_theme_nyan_cat_engine.

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