You are here

public function LayerStyleLoaderInterface::load in farmOS 2.x

Load a single layer style definition, optionally filtered by conditions.

Parameters

array $conditions: An array of conditions for filtering.

Return value

\Drupal\farm_map\Entity\LayerStyleInterface|null Returns a layer style definition, or NULL if no matches were found.

1 method overrides LayerStyleLoaderInterface::load()
LayerStyleLoader::load in modules/core/map/src/LayerStyleLoader.php
Load a single layer style definition, optionally filtered by conditions.

File

modules/core/map/src/LayerStyleLoaderInterface.php, line 21

Class

LayerStyleLoaderInterface
Layer style loader interface.

Namespace

Drupal\farm_map

Code

public function load(array $conditions = []) : ?LayerStyleInterface;