function media_library_theme in Drupal 8
Same name and namespace in other branches
- 9 core/modules/media_library/media_library.module \media_library_theme()
Implements hook_theme().
File
- core/
modules/ media_library/ media_library.module, line 107 - Contains hook implementations for the media_library module.
Code
function media_library_theme() {
return [
'media__media_library' => [
'base hook' => 'media',
],
'media_library_wrapper' => [
'render element' => 'element',
],
'media_library_item' => [
'render element' => 'element',
],
];
}