FilterDisableForm::getQuestion

public FilterDisableForm::getQuestion()

Returns the question to ask the user.

Return value

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

Overrides ConfirmFormInterface::getQuestion

File

core/modules/filter/src/Form/FilterDisableForm.php, line 17

Class

FilterDisableForm
Provides the filter format disable form.

Namespace

Drupal\filter\Form

Code

public function getQuestion() {
  return $this->t('Are you sure you want to disable the text format %format?', array('%format' => $this->entity->label()));
}
doc_Drupal
2016-10-29 09:14:26
Comments
Leave a Comment

Please login to continue.