function layout_discovery_theme in Drupal 9
Same name and namespace in other branches
- 8 core/modules/layout_discovery/layout_discovery.module \layout_discovery_theme()
Implements hook_theme().
File
- core/
modules/ layout_discovery/ layout_discovery.module, line 27 - Provides hook implementations for Layout Discovery.
Code
function layout_discovery_theme() {
return \Drupal::service('plugin.manager.core.layout')
->getThemeImplementations();
}