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