function media_library_theme in Drupal 9
Same name and namespace in other branches
- 8 core/modules/media_library/media_library.module \media_library_theme()
Implements hook_theme().
File
- core/
modules/ media_library/ media_library.module, line 105 - 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',
],
];
}