abstract protected function ImageAPIOptimizeProcessorFormBase::prepareImageAPIOptimizeProcessor in Image Optimize (or ImageAPI Optimize) 8.3
Same name and namespace in other branches
- 8.2 src/Form/ImageAPIOptimizeProcessorFormBase.php \Drupal\imageapi_optimize\Form\ImageAPIOptimizeProcessorFormBase::prepareImageAPIOptimizeProcessor()
- 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()
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\FormCode
protected abstract function prepareImageAPIOptimizeProcessor($imageapi_optimize_processor);