function ImageEffectDeleteForm::getQuestion

Same name in other branches
  1. 9 core/modules/image/src/Form/ImageEffectDeleteForm.php \Drupal\image\Form\ImageEffectDeleteForm::getQuestion()
  2. 8.9.x core/modules/image/src/Form/ImageEffectDeleteForm.php \Drupal\image\Form\ImageEffectDeleteForm::getQuestion()
  3. 10 core/modules/image/src/Form/ImageEffectDeleteForm.php \Drupal\image\Form\ImageEffectDeleteForm::getQuestion()

Overrides ConfirmFormInterface::getQuestion

File

core/modules/image/src/Form/ImageEffectDeleteForm.php, line 33

Class

ImageEffectDeleteForm
Form for deleting an image effect.

Namespace

Drupal\image\Form

Code

public function getQuestion() {
    return $this->t('Are you sure you want to delete the @effect effect from the %style style?', [
        '%style' => $this->imageStyle
            ->label(),
        '@effect' => $this->imageEffect
            ->label(),
    ]);
}

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