You are here

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

The template file to render this layout (relative to the 'path' given).

If specified, then the layout_plugin module will register the template with hook_theme() and the module or theme registering this layout does not need to do it. This is mutually exclusive with 'theme' - you can't specify both.

Type: string optional

See also

hook_theme()

File

src/Annotation/Layout.php, line 99

Class

Layout
Defines a Layout annotation object.

Namespace

Drupal\layout_plugin\Annotation

Code

public $template;