You are here

public function ExportConfirmForm::getQuestion in Fixed Block Content 8

Gathers a confirmation question.

Return value

string Translated string.

Overrides ConfirmFormInterface::getQuestion

File

src/Form/ExportConfirmForm.php, line 27

Class

ExportConfirmForm
Export default content confirm form class.

Namespace

Drupal\fixed_block_content\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to restore the %block to its default content?', [
    '%block' => $this->entity
      ->label(),
  ]);
}