You are here

public function RuleDeleteConfirmForm::getQuestion in CRM Core 8

Same name and namespace in other branches
  1. 8.3 modules/crm_core_user_sync/src/Form/RuleDeleteConfirmForm.php \Drupal\crm_core_user_sync\Form\RuleDeleteConfirmForm::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

modules/crm_core_user_sync/src/Form/RuleDeleteConfirmForm.php, line 32

Class

RuleDeleteConfirmForm
Provides a confirmation form before clearing out the examples.

Namespace

Drupal\crm_core_user_sync\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to delete this rule?');
}