function hook_gutenberg_media_library_view_alter in Gutenberg 8
Same name and namespace in other branches
- 8.2 gutenberg.api.php \hook_gutenberg_media_library_view_alter()
Alter render array of Gutenberg Media Library dialog.
Parameters
array $build_ui: Build array of media library dialog.
See also
\Drupal\gutenberg\GutenbergMediaLibraryUiBuilder
1 invocation of hook_gutenberg_media_library_view_alter()
- MediaService::renderDialog in src/
Service/ MediaService.php - Renders media library dialog for Gutenberg editor.
File
- ./
gutenberg.api.php, line 58 - Documentation for Gutenberg module APIs.
Code
function hook_gutenberg_media_library_view_alter(array &$build_ui) {
// @todo: provide some example.
}