function BulkForm::emptyActionMessage

Same name in other branches
  1. 10 core/modules/views/src/Plugin/views/field/BulkForm.php \Drupal\views\Plugin\views\field\BulkForm::emptyActionMessage()

Returns the message that is displayed when no action is selected.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup Message displayed when no action is selected.

1 call to BulkForm::emptyActionMessage()
BulkForm::viewsFormValidate in core/modules/views/src/Plugin/views/field/BulkForm.php

File

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

Class

BulkForm
Defines an actions-based bulk operation form element.

Namespace

Drupal\views\Plugin\views\field

Code

protected function emptyActionMessage() : TranslatableMarkup {
    return $this->t('No %title option selected.', [
        '%title' => $this->options['action_title'],
    ]);
}

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