protected function FieldDeleteForm::getQuestion

Returns the question to ask the user.

Return value

string The form question. The page title will be set to this value.

Overrides ConfirmFormBase::getQuestion

File

drupal/core/modules/field_ui/lib/Drupal/field_ui/Form/FieldDeleteForm.php, line 64
Contains \Drupal\field_ui\Form\FieldDeleteForm.

Class

FieldDeleteForm
Provides a form for removing a field instance from a bundle.

Namespace

Drupal\field_ui\Form

Code

protected function getQuestion() {
  return t('Are you sure you want to delete the field %field?', array(
    '%field' => $this->instance
      ->label(),
  ));
}