You are here

public function MapThemerInterface::getIcon in Geofield Map 8.2

Retrieve the icon for theming definition.

Parameters

array $datum: The geometry feature array definition.

\Drupal\geofield_map\Plugin\views\style\GeofieldGoogleMapViewStyle $geofieldMapView: The Geofield Map View dispaly object.

\Drupal\Core\Entity\EntityInterface $entity: The entity generating the datum.

mixed $map_theming_values: The Map themer mapping values.

Return value

mixed The icon definition.

4 methods override MapThemerInterface::getIcon()
CustomIconThemer::getIcon in src/Plugin/GeofieldMapThemer/CustomIconThemer.php
Retrieve the icon for theming definition.
EntityTypeThemerUrl::getIcon in src/Plugin/GeofieldMapThemer/EntityTypeThemerUrl.php
Retrieve the icon for theming definition.
ListFieldThemerUrl::getIcon in src/Plugin/GeofieldMapThemer/ListFieldThemerUrl.php
Retrieve the icon for theming definition.
TaxonomyTermThemerUrl::getIcon in src/Plugin/GeofieldMapThemer/TaxonomyTermThemerUrl.php
Retrieve the icon for theming definition.

File

src/MapThemerInterface.php, line 77

Class

MapThemerInterface
Provides an interface for Geofield Map Themers plugins.

Namespace

Drupal\geofield_map

Code

public function getIcon(array $datum, GeofieldGoogleMapViewStyle $geofieldMapView, EntityInterface $entity, $map_theming_values);