Hooks
final class Hooks
Implements module hooks.
Methods
__construct(ModuleHandlerInterface $moduleHandler, FilterPluginManager $filterManager, ConfigFactoryInterface $configFactory)
Constructs a new Hooks object.
string|Stringable|array|null
help(string $route_name, RouteMatchInterface $route_match)
Implements hook_help().
array
theme(array $existing, string $type, string $theme, string $path)
Implements hook_theme().
Details
at line 24
__construct(ModuleHandlerInterface $moduleHandler, FilterPluginManager $filterManager, ConfigFactoryInterface $configFactory)
Constructs a new Hooks object.
at line 39
string|Stringable|array|null
help(string $route_name, RouteMatchInterface $route_match)
Implements hook_help().
at line 76
array
theme(array $existing, string $type, string $theme, string $path)
Implements hook_theme().