You are here

public function ImageStyleDeleteForm::getQuestion in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/image/src/Form/ImageStyleDeleteForm.php \Drupal\image\Form\ImageStyleDeleteForm::getQuestion()

Overrides EntityDeleteFormTrait::getQuestion

File

core/modules/image/src/Form/ImageStyleDeleteForm.php, line 21
Contains \Drupal\image\Form\ImageStyleDeleteForm.

Class

ImageStyleDeleteForm
Creates a form to delete an image style.

Namespace

Drupal\image\Form

Code

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