You are here

abstract protected function ImageAPIOptimizeProcessorFormBase::prepareImageAPIOptimizeProcessor in Image Optimize (or ImageAPI Optimize) 8.3

Same name and namespace in other branches
  1. 8.2 src/Form/ImageAPIOptimizeProcessorFormBase.php \Drupal\imageapi_optimize\Form\ImageAPIOptimizeProcessorFormBase::prepareImageAPIOptimizeProcessor()
  2. 4.x src/Form/ImageAPIOptimizeProcessorFormBase.php \Drupal\imageapi_optimize\Form\ImageAPIOptimizeProcessorFormBase::prepareImageAPIOptimizeProcessor()

Converts an image optimize processor ID into an object.

Parameters

string $imageapi_optimize_processor: The image optimize processor ID.

Return value

\Drupal\imageapi_optimize\ImageAPIOptimizeProcessorInterface The image optimize processor object.

1 call to ImageAPIOptimizeProcessorFormBase::prepareImageAPIOptimizeProcessor()
ImageAPIOptimizeProcessorFormBase::buildForm in src/Form/ImageAPIOptimizeProcessorFormBase.php
2 methods override ImageAPIOptimizeProcessorFormBase::prepareImageAPIOptimizeProcessor()
ImageAPIOptimizeProcessorAddForm::prepareImageAPIOptimizeProcessor in src/Form/ImageAPIOptimizeProcessorAddForm.php
Converts an image optimize processor ID into an object.
ImageAPIOptimizeProcessorEditForm::prepareImageAPIOptimizeProcessor in src/Form/ImageAPIOptimizeProcessorEditForm.php
Converts an image optimize processor ID into an object.

File

src/Form/ImageAPIOptimizeProcessorFormBase.php, line 139

Class

ImageAPIOptimizeProcessorFormBase
Provides a base form for image optimize processors.

Namespace

Drupal\imageapi_optimize\Form

Code

protected abstract function prepareImageAPIOptimizeProcessor($imageapi_optimize_processor);