You are here

public function GdprFieldSettingsDeleteForm::getQuestion in General Data Protection Regulation 8

Same name and namespace in other branches
  1. 8.2 modules/gdpr_fields/src/Form/GdprFieldSettingsDeleteForm.php \Drupal\gdpr_fields\Form\GdprFieldSettingsDeleteForm::getQuestion()
  2. 3.0.x modules/gdpr_fields/src/Form/GdprFieldSettingsDeleteForm.php \Drupal\gdpr_fields\Form\GdprFieldSettingsDeleteForm::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/gdpr_fields/src/Form/GdprFieldSettingsDeleteForm.php, line 16

Class

GdprFieldSettingsDeleteForm
Delete confirmation form for GDPR field settings.

Namespace

Drupal\gdpr_fields\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to remove the GDPR settings from this field?');
}