UpdateSelectionCommand::$mediaIds

Same name in other branches
  1. 9 core/modules/media_library/src/Ajax/UpdateSelectionCommand.php \Drupal\media_library\Ajax\UpdateSelectionCommand::mediaIds
  2. 8.9.x core/modules/media_library/src/Ajax/UpdateSelectionCommand.php \Drupal\media_library\Ajax\UpdateSelectionCommand::mediaIds
  3. 10 core/modules/media_library/src/Ajax/UpdateSelectionCommand.php \Drupal\media_library\Ajax\UpdateSelectionCommand::mediaIds

An array of media IDs to add to the current selection.

Type: int[]

File

core/modules/media_library/src/Ajax/UpdateSelectionCommand.php, line 31

Class

UpdateSelectionCommand
AJAX command for adding media items to the media library selection.

Namespace

Drupal\media_library\Ajax

Code

protected $mediaIds;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.