public property Layout::$theme_hook in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Layout/Annotation/Layout.php \Drupal\Core\Layout\Annotation\Layout::theme_hook
The theme hook used to render this layout.
If specified, it's assumed that the module or theme registering this layout will also register the theme hook with hook_theme() itself. This is mutually exclusive with 'template' - you can't specify both.
Type: string optional
See also
File
- core/
lib/ Drupal/ Core/ Layout/ Annotation/ Layout.php, line 91
Class
- Layout
- Defines a Layout annotation object.
Namespace
Drupal\Core\Layout\AnnotationCode
public $theme_hook = 'layout';