Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. LayoutDiscoveryHooks.php

function LayoutDiscoveryHooks::theme

Implements hook_theme().

File

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

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();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal