function LayoutDiscoveryThemeHooks::theme
Implements hook_theme().
Attributes
#[Hook('theme')]
File
-
core/
modules/ layout_discovery/ src/ Hook/ LayoutDiscoveryThemeHooks.php, line 24
Class
- LayoutDiscoveryThemeHooks
- Theme hooks for layout_discovery.
Namespace
Drupal\layout_discovery\HookCode
public function theme() : array {
return $this->layoutPluginManager
->getThemeImplementations();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.