function ImageEffectDeleteForm::buildForm
Same name in other branches
- 8.9.x core/modules/image/src/Form/ImageEffectDeleteForm.php \Drupal\image\Form\ImageEffectDeleteForm::buildForm()
- 10 core/modules/image/src/Form/ImageEffectDeleteForm.php \Drupal\image\Form\ImageEffectDeleteForm::buildForm()
- 11.x core/modules/image/src/Form/ImageEffectDeleteForm.php \Drupal\image\Form\ImageEffectDeleteForm::buildForm()
Overrides ConfirmFormBase::buildForm
File
-
core/
modules/ image/ src/ Form/ ImageEffectDeleteForm.php, line 61
Class
- ImageEffectDeleteForm
- Form for deleting an image effect.
Namespace
Drupal\image\FormCode
public function buildForm(array $form, FormStateInterface $form_state, ImageStyleInterface $image_style = NULL, $image_effect = NULL) {
$this->imageStyle = $image_style;
$this->imageEffect = $this->imageStyle
->getEffect($image_effect);
return parent::buildForm($form, $form_state);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.