You are here

public function ImageEffectDeleteForm::getQuestion in Zircon Profile 8

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

Returns the question to ask the user.

Return value

string The form question. The page title will be set to this value.

Overrides ConfirmFormInterface::getQuestion

File

core/modules/image/src/Form/ImageEffectDeleteForm.php, line 36
Contains \Drupal\image\Form\ImageEffectDeleteForm.

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?', array(
    '%style' => $this->imageStyle
      ->label(),
    '@effect' => $this->imageEffect
      ->label(),
  ));
}