function ImageStyleDeleteForm::getQuestion

Same name in other branches
  1. 8.9.x core/modules/image/src/Form/ImageStyleDeleteForm.php \Drupal\image\Form\ImageStyleDeleteForm::getQuestion()
  2. 10 core/modules/image/src/Form/ImageStyleDeleteForm.php \Drupal\image\Form\ImageStyleDeleteForm::getQuestion()
  3. 11.x 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(),
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.