function layout_discovery_theme

Same name in other branches
  1. 8.9.x core/modules/layout_discovery/layout_discovery.module \layout_discovery_theme()
  2. 10 core/modules/layout_discovery/layout_discovery.module \layout_discovery_theme()
  3. 11.x core/modules/layout_discovery/layout_discovery.module \layout_discovery_theme()

Implements hook_theme().

File

core/modules/layout_discovery/layout_discovery.module, line 27

Code

function layout_discovery_theme() {
    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.