function LayoutBuilderTestThemeHooks::theme
Implements hook_theme().
Attributes
#[Hook('theme')]
File
-
core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ src/ Hook/ LayoutBuilderTestThemeHooks.php, line 22
Class
- LayoutBuilderTestThemeHooks
- Theme hook implementations for layout_builder_test.
Namespace
Drupal\layout_builder_test\HookCode
public function theme() : array {
return [
'block__preview_aware_block' => [
'base hook' => 'block',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.