function TestActionConfirmForm::getQuestion

Same name and namespace in other branches
  1. 11.x core/modules/views/tests/modules/action_bulk_test/src/Form/TestActionConfirmForm.php \Drupal\action_bulk_test\Form\TestActionConfirmForm::getQuestion()

Returns the question to ask the user.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.

Overrides ConfirmFormInterface::getQuestion

File

core/modules/views/tests/modules/action_bulk_test/src/Form/TestActionConfirmForm.php, line 32

Class

TestActionConfirmForm
Confirmation form for 'test_action' action.

Namespace

Drupal\action_bulk_test\Form

Code

public function getQuestion() : MarkupInterface {
    return $this->t('Do you agree?');
}

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