function ImageEffectEditForm::prepareImageEffect

Same name and namespace in other branches
  1. 11.x core/modules/image/src/Form/ImageEffectEditForm.php \Drupal\image\Form\ImageEffectEditForm::prepareImageEffect()
  2. 10 core/modules/image/src/Form/ImageEffectEditForm.php \Drupal\image\Form\ImageEffectEditForm::prepareImageEffect()
  3. 8.9.x core/modules/image/src/Form/ImageEffectEditForm.php \Drupal\image\Form\ImageEffectEditForm::prepareImageEffect()

File

core/modules/image/src/Form/ImageEffectEditForm.php, line 33

Class

ImageEffectEditForm
Provides an edit form for image effects.

Namespace

Drupal\image\Form

Code

protected function prepareImageEffect($image_effect) {
  return $this->imageStyle
    ->getEffect($image_effect);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.