ThemeTestThemeHooks.php
Namespace
Drupal\theme_test\HookFile
-
core/
modules/ system/ tests/ modules/ theme_test/ src/ Hook/ ThemeTestThemeHooks.php
View source
<?php
declare (strict_types=1);
namespace Drupal\theme_test\Hook;
use Drupal\Core\Hook\Attribute\Preprocess;
/**
* Hook implementations for theme_test.
*/
class ThemeTestThemeHooks {
/**
* Implements hook_preprocess_HOOK().
*/
public function preprocessTestSuggestions(&$variables) : void {
$variables['foo'] = 'Monkey';
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
ThemeTestThemeHooks | Hook implementations for theme_test. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.