function ImageEffectEditForm::prepareImageEffect

Same name in other branches
  1. 9 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. 11.x core/modules/image/src/Form/ImageEffectEditForm.php \Drupal\image\Form\ImageEffectEditForm::prepareImageEffect()

Overrides ImageEffectFormBase::prepareImageEffect

File

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

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.