You are here

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

1 call to OpenlayersPluginFormBase::preparePlugin()
OpenlayersPluginFormBase::buildForm in src/Form/OpenlayersPluginFormBase.php
4 methods override OpenlayersPluginFormBase::preparePlugin()
OpenlayersControlPluginAddForm::preparePlugin in src/Form/OpenlayersControlPluginAddForm.php
Converts an image effect ID into an object.
OpenlayersInteractionPluginAddForm::preparePlugin in src/Form/OpenlayersInteractionPluginAddForm.php
Converts an image effect ID into an object.
OpenlayersPluginEditForm::preparePlugin in src/Form/OpenlayersPluginEditForm.php
Converts an image effect ID into an object.
OpenlayersStylePluginAddForm::preparePlugin in src/Form/OpenlayersStylePluginAddForm.php
Converts an image effect ID into an object.

File

src/Form/OpenlayersPluginFormBase.php, line 163

Class

OpenlayersPluginFormBase
Provides a base form for the settings for Openlayers plugins.

Namespace

Drupal\openlayers\Form

Code

protected abstract function preparePlugin($plugin_type, $plugin);