public function OpenlayersMapInterface::getLayer in Openlayers 8.4
Returns a specific image effect.
Parameters
string $effect: The image effect ID.
Return value
\Drupal\image\ImageEffectInterface The image effect object.
1 method overrides OpenlayersMapInterface::getLayer()
- OpenlayersMap::getLayer in src/
Entity/ OpenlayersMap.php - Returns a specific image effect.
File
- src/
OpenlayersMapInterface.php, line 152
Class
- OpenlayersMapInterface
- Provides an interface defining an Openlayers Map entity.
Namespace
Drupal\openlayersCode
public function getLayer($layer);