You are here

public property Style::$theme in Styles API 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/Style.php, line 90
Contains Drupal\styles_api\Annotation\Style.

Class

Style
Defines a Layout annotation object.

Namespace

Drupal\styles_api\Annotation

Code

public $theme;