public function ImportConfirmForm::getQuestion in Fixed Block Content 8
Gathers a confirmation question.
Return value
string Translated string.
Overrides ConfirmFormInterface::getQuestion
File
- src/
Form/ ImportConfirmForm.php, line 27
Class
- ImportConfirmForm
- Import default content confirm form class.
Namespace
Drupal\fixed_block_content\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to set the %block current content as the default?', [
'%block' => $this->entity
->label(),
]);
}