You are here

protected function BulkForm::emptySelectedMessage in Drupal 8

Same name and namespace in other branches
  1. 9 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 460

Class

BulkForm
Defines a actions-based bulk operation form element.

Namespace

Drupal\views\Plugin\views\field

Code

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