You are here

public function LayoutBase::getThemeHook in Layout Plugin (obsolete, use core's Layout Discovery) 8

Gets the theme hook used to render this layout.

Return value

string|NULL Theme hook.

1 call to LayoutBase::getThemeHook()
LayoutBase::build in src/Plugin/Layout/LayoutBase.php
Build a render array for layout with regions.

File

src/Plugin/Layout/LayoutBase.php, line 111

Class

LayoutBase
Provides a base class for Layout plugins.

Namespace

Drupal\layout_plugin\Plugin\Layout

Code

public function getThemeHook() {
  return isset($this->pluginDefinition['theme']) ? $this->pluginDefinition['theme'] : NULL;
}