protected function MapLayerEditForm::prepareOpenlayersLayer in Openlayers 8.4
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.
Overrides MapLayerFormBase::prepareOpenlayersLayer
File
- src/
Form/ MapLayerEditForm.php, line 30
Class
- MapLayerEditForm
- Provides an edit form for image effects.
Namespace
Drupal\openlayers\FormCode
protected function prepareOpenlayersLayer($layer) {
return $layer;
}