You are here

public function ImageStyleDeleteForm::getQuestion in Drupal 10

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

Overrides EntityDeleteFormTrait::getQuestion

File

core/modules/image/src/Form/ImageStyleDeleteForm.php, line 25

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', [
    '%style' => $this->entity
      ->label(),
  ]);
}