protected function ImageStyleDeleteForm::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/image/lib/Drupal/image/Form/ImageStyleDeleteForm.php, line 28
Contains \Drupal\image\Form\ImageStyleDeleteForm.

Class

ImageStyleDeleteForm
Creates a form to delete an image style.

Namespace

Drupal\image\Form

Code

protected function getQuestion() {
  return t('Optionally select a style before deleting %style', array(
    '%style' => $this->imageStyle
      ->label(),
  ));
}