protected function 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 ConfirmFormBase::getQuestion

File

drupal/core/modules/image/lib/Drupal/image/Form/ImageEffectDeleteForm.php, line 35
Contains \Drupal\image\Form\ImageEffectDeleteForm.

Class

ImageEffectDeleteForm
Form for deleting an image effect.

Namespace

Drupal\image\Form

Code

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