abstract protected function ImageEffectFormBase::prepareImageEffect in Drupal 10
Same name and namespace in other branches
- 8 core/modules/image/src/Form/ImageEffectFormBase.php \Drupal\image\Form\ImageEffectFormBase::prepareImageEffect()
- 9 core/modules/image/src/Form/ImageEffectFormBase.php \Drupal\image\Form\ImageEffectFormBase::prepareImageEffect()
Converts an image effect ID into an object.
Parameters
string $image_effect: The image effect ID.
Return value
\Drupal\image\ImageEffectInterface The image effect object.
1 call to ImageEffectFormBase::prepareImageEffect()
- ImageEffectFormBase::buildForm in core/
modules/ image/ src/ Form/ ImageEffectFormBase.php
File
- core/
modules/ image/ src/ Form/ ImageEffectFormBase.php, line 143
Class
- ImageEffectFormBase
- Provides a base form for image effects.
Namespace
Drupal\image\FormCode
protected abstract function prepareImageEffect($image_effect);