StandardHooks.php
Same filename and directory in other branches
Namespace
Drupal\standard\HookFile
-
core/
profiles/ standard/ src/ Hook/ StandardHooks.php
View source
<?php
namespace Drupal\standard\Hook;
use Drupal\Core\Hook\Attribute\Hook;
/**
* Hook implementations for the Standard installation profile.
*/
class StandardHooks {
/**
* Implements hook_theme().
*/
public function theme() : array {
return [
'standard_welcome_page' => [
'variables' => [
'attributes' => [],
],
],
];
}
}
Classes
| Title | Deprecated | Summary |
|---|---|---|
| StandardHooks | Hook implementations for the Standard installation profile. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.