You are here

abstract protected function ImageEffectFormBase::prepareImageEffect in Drupal 9

Same name and namespace in other branches
  1. 8 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
2 methods override ImageEffectFormBase::prepareImageEffect()
ImageEffectAddForm::prepareImageEffect in core/modules/image/src/Form/ImageEffectAddForm.php
Converts an image effect ID into an object.
ImageEffectEditForm::prepareImageEffect in core/modules/image/src/Form/ImageEffectEditForm.php
Converts an image effect ID into an object.

File

core/modules/image/src/Form/ImageEffectFormBase.php, line 143

Class

ImageEffectFormBase
Provides a base form for image effects.

Namespace

Drupal\image\Form

Code

protected abstract function prepareImageEffect($image_effect);