You are here

interface LayerStyleLoaderInterface in farmOS 2.x

Layer style loader interface.

Hierarchy

Expanded class hierarchy of LayerStyleLoaderInterface

All classes that implement LayerStyleLoaderInterface

File

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

Namespace

Drupal\farm_map
View source
interface LayerStyleLoaderInterface {

  /**
   * Load a single layer style definition, optionally filtered by conditions.
   *
   * @param array $conditions
   *   An array of conditions for filtering.
   *
   * @return \Drupal\farm_map\Entity\LayerStyleInterface|null
   *   Returns a layer style definition, or NULL if no matches were found.
   */
  public function load(array $conditions = []) : ?LayerStyleInterface;

}

Members

Namesort descending Modifiers Type Description Overrides
LayerStyleLoaderInterface::load public function Load a single layer style definition, optionally filtered by conditions. 1