You are here

abstract protected function ImageEffectFormBase::prepareImageEffect in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 148
Contains \Drupal\image\Form\ImageEffectFormBase.

Class

ImageEffectFormBase
Provides a base form for image effects.

Namespace

Drupal\image\Form

Code

protected abstract function prepareImageEffect($image_effect);