You are here

public property Layout::$theme in Layout Plugin (obsolete, use core's Layout Discovery) 8

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

hook_theme()

File

src/Annotation/Layout.php, line 86

Class

Layout
Defines a Layout annotation object.

Namespace

Drupal\layout_plugin\Annotation

Code

public $theme;