You are here

protected function MediaBulkForm::emptySelectedMessage in Media Entity Actions 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/field/MediaBulkForm.php \Drupal\media_entity_actions\Plugin\views\field\MediaBulkForm::emptySelectedMessage()

Returns the message to be displayed when there are no selected items.

Return value

string Message displayed when no items are selected.

Overrides BulkForm::emptySelectedMessage

File

src/Plugin/views/field/MediaBulkForm.php, line 17

Class

MediaBulkForm
Defines a media operations bulk form element.

Namespace

Drupal\media_entity_actions\Plugin\views\field

Code

protected function emptySelectedMessage() {
  return $this
    ->t('No media selected.');
}