You are here

public function FieldEncryptDecryptForm::getQuestion in Field Encryption 8.2

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/FieldEncryptDecryptForm.php, line 66

Class

FieldEncryptDecryptForm
Confirmation form for removing encryption on field.

Namespace

Drupal\field_encrypt\Form

Code

public function getQuestion() {
  return t('Are you sure you want to remove encryption for field %field on %entity_type?', array(
    '%field' => $this->fieldName,
    '%entity_type' => $this->entityType,
  ));
}