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

Breadcrumb

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

function MediaLibraryHooks::theme

Implements hook_theme().

File

core/modules/media_library/src/Hook/MediaLibraryHooks.php, line 101

Class

MediaLibraryHooks
Hook implementations for media_library.

Namespace

Drupal\media_library\Hook

Code

public function theme() : array {
    return [
        'media__media_library' => [
            'base hook' => 'media',
        ],
        'media_library_wrapper' => [
            'render element' => 'element',
        ],
        'media_library_item' => [
            'render element' => 'element',
        ],
    ];
}

API Navigation

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