public function ImageEffectDeleteForm::getQuestion in Drupal 8
Same name and namespace in other branches
- 9 core/modules/image/src/Form/ImageEffectDeleteForm.php \Drupal\image\Form\ImageEffectDeleteForm::getQuestion()
Returns the question to ask the user.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.
Overrides ConfirmFormInterface::getQuestion
File
- core/
modules/ image/ src/ Form/ ImageEffectDeleteForm.php, line 33
Class
- ImageEffectDeleteForm
- Form for deleting an image effect.
Namespace
Drupal\image\FormCode
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(),
]);
}