protected function MapStyleAddForm::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/ MapStyleAddForm.php, line 59
Class
- MapStyleAddForm
- Provides an add form for image effects.
Namespace
Drupal\openlayers\FormCode
protected function prepareOpenlayersLayer($layer) {
return $layer;
}