public function ImageAPIOptimizePipelineFlushForm::getQuestion in Image Optimize (or ImageAPI Optimize) 8.2
Same name and namespace in other branches
- 8.3 src/Form/ImageAPIOptimizePipelineFlushForm.php \Drupal\imageapi_optimize\Form\ImageAPIOptimizePipelineFlushForm::getQuestion()
- 4.x src/Form/ImageAPIOptimizePipelineFlushForm.php \Drupal\imageapi_optimize\Form\ImageAPIOptimizePipelineFlushForm::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
- src/
Form/ ImageAPIOptimizePipelineFlushForm.php, line 16
Class
- ImageAPIOptimizePipelineFlushForm
- Form controller for image optimize pipeline flush.
Namespace
Drupal\imageapi_optimize\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to apply the updated %name Image Optimize pipeline to all images?', [
'%name' => $this->entity
->label(),
]);
}