You are here

public function FlowDeleteForm::getQuestion in CMS Content Sync 2.0.x

Same name and namespace in other branches
  1. 8 src/Form/FlowDeleteForm.php \Drupal\cms_content_sync\Form\FlowDeleteForm::getQuestion()
  2. 2.1.x src/Form/FlowDeleteForm.php \Drupal\cms_content_sync\Form\FlowDeleteForm::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

src/Form/FlowDeleteForm.php, line 60

Class

FlowDeleteForm
Builds the form to delete an Flow.

Namespace

Drupal\cms_content_sync\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to delete %name? This will also delete all synchronisation status entities!', [
    '%name' => $this->entity
      ->label(),
  ]);
}