You are here

public property Style::$template in Styles API 8

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

If specified, then the styles_api 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/Style.php, line 103
Contains Drupal\styles_api\Annotation\Style.

Class

Style
Defines a Layout annotation object.

Namespace

Drupal\styles_api\Annotation

Code

public $template;