You are here

abstract protected function MapLayerFormBase::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.

4 methods override MapLayerFormBase::prepareOpenlayersLayer()
MapLayerAddForm::prepareOpenlayersLayer in src/Form/MapLayerAddForm.php
Converts an image effect ID into an object.
MapLayerEditForm::prepareOpenlayersLayer in src/Form/MapLayerEditForm.php
Converts an image effect ID into an object.
MapStyleAddForm::prepareOpenlayersLayer in src/Form/MapStyleAddForm.php
Converts an image effect ID into an object.
MapStyleEditForm::prepareOpenlayersLayer in src/Form/MapStyleEditForm.php
Converts an image effect ID into an object.

File

src/Form/MapLayerFormBase.php, line 147

Class

MapLayerFormBase
Provides a base form for image effects.

Namespace

Drupal\openlayers\Form

Code

protected abstract function prepareOpenlayersLayer($layer);