function LayoutDiscoveryHooks::theme

Implements hook_theme().

File

core/modules/layout_discovery/src/Hook/LayoutDiscoveryHooks.php, line 35

Class

LayoutDiscoveryHooks
Hook implementations for layout_discovery.

Namespace

Drupal\layout_discovery\Hook

Code

public function theme() : array {
    return \Drupal::service('plugin.manager.core.layout')->getThemeImplementations();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.