public function UpdateSelectionCommand::render in Drupal 10
Same name and namespace in other branches
- 8 core/modules/media_library/src/Ajax/UpdateSelectionCommand.php \Drupal\media_library\Ajax\UpdateSelectionCommand::render()
- 9 core/modules/media_library/src/Ajax/UpdateSelectionCommand.php \Drupal\media_library\Ajax\UpdateSelectionCommand::render()
File
- core/
modules/ media_library/ src/ Ajax/ UpdateSelectionCommand.php, line 46
Class
- UpdateSelectionCommand
- AJAX command for adding media items to the media library selection.
Namespace
Drupal\media_library\AjaxCode
public function render() {
return [
'command' => 'updateMediaLibrarySelection',
'mediaIds' => $this->mediaIds,
];
}