You are here

function hook_gutenberg_media_library_view_alter in Gutenberg 8.2

Same name and namespace in other branches
  1. 8 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 64
Documentation for Gutenberg module APIs.

Code

function hook_gutenberg_media_library_view_alter(array &$build_ui) {

  // @todo: provide some example.
}