You are here

protected function BulkForm::emptySelectedMessage in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/field/BulkForm.php \Drupal\views\Plugin\views\field\BulkForm::emptySelectedMessage()

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

Return value

string Message displayed when no items are selected.

1 call to BulkForm::emptySelectedMessage()
BulkForm::viewsFormValidate in core/modules/views/src/Plugin/views/field/BulkForm.php
3 methods override BulkForm::emptySelectedMessage()
CommentBulkForm::emptySelectedMessage in core/modules/comment/src/Plugin/views/field/CommentBulkForm.php
Returns the message to be displayed when there are no selected items.
NodeBulkForm::emptySelectedMessage in core/modules/node/src/Plugin/views/field/NodeBulkForm.php
Returns the message to be displayed when there are no selected items.
UserBulkForm::emptySelectedMessage in core/modules/user/src/Plugin/views/field/UserBulkForm.php
Returns the message to be displayed when there are no selected items.

File

core/modules/views/src/Plugin/views/field/BulkForm.php, line 440

Class

BulkForm
Defines an actions-based bulk operation form element.

Namespace

Drupal\views\Plugin\views\field

Code

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