function media_library_theme
Same name in other branches
- 9 core/modules/media_library/media_library.module \media_library_theme()
- 10 core/modules/media_library/media_library.module \media_library_theme()
- 11.x core/modules/media_library/media_library.module \media_library_theme()
Implements hook_theme().
File
-
core/
modules/ media_library/ media_library.module, line 107
Code
function media_library_theme() {
return [
'media__media_library' => [
'base hook' => 'media',
],
'media_library_wrapper' => [
'render element' => 'element',
],
'media_library_item' => [
'render element' => 'element',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.