You are here

public function MapThemerInterface::getLegend in Geofield Map 8.2

Generate the Legend render array.

Parameters

array $map_theming_values: The Map themer mapping values.

array $configuration: The legend block configuration array.

Return value

mixed The icon definition.

4 methods override MapThemerInterface::getLegend()
CustomIconThemer::getLegend in src/Plugin/GeofieldMapThemer/CustomIconThemer.php
Generate the Legend render array.
EntityTypeThemerUrl::getLegend in src/Plugin/GeofieldMapThemer/EntityTypeThemerUrl.php
Generate the Legend render array.
ListFieldThemerUrl::getLegend in src/Plugin/GeofieldMapThemer/ListFieldThemerUrl.php
Generate the Legend render array.
TaxonomyTermThemerUrl::getLegend in src/Plugin/GeofieldMapThemer/TaxonomyTermThemerUrl.php
Generate the Legend render array.

File

src/MapThemerInterface.php, line 90

Class

MapThemerInterface
Provides an interface for Geofield Map Themers plugins.

Namespace

Drupal\geofield_map

Code

public function getLegend(array $map_theming_values, array $configuration = []);