You are here

protected function CommentBulkForm::emptySelectedMessage in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/comment/src/Plugin/views/field/CommentBulkForm.php \Drupal\comment\Plugin\views\field\CommentBulkForm::emptySelectedMessage()
  2. 9 core/modules/comment/src/Plugin/views/field/CommentBulkForm.php \Drupal\comment\Plugin\views\field\CommentBulkForm::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

core/modules/comment/src/Plugin/views/field/CommentBulkForm.php, line 17

Class

CommentBulkForm
Defines a comment operations bulk form element.

Namespace

Drupal\comment\Plugin\views\field

Code

protected function emptySelectedMessage() {
  return $this
    ->t('Select one or more comments to perform the update on.');
}