function BulkForm::emptySelectedMessage

Same name in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/field/BulkForm.php \Drupal\views\Plugin\views\field\BulkForm::emptySelectedMessage()
  2. 10 core/modules/views/src/Plugin/views/field/BulkForm.php \Drupal\views\Plugin\views\field\BulkForm::emptySelectedMessage()
  3. 11.x 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.');
}

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