protected function MapThemerBase::defaultLegendFooter in Geofield Map 8.2
Returns the default Legend Footer.
Parameters
array $configuration: The Legend configuration.
Return value
array The DefaultLegendIcon render array.
6 calls to MapThemerBase::defaultLegendFooter()
- EntityTypeThemer::getLegend in src/
Plugin/ GeofieldMapThemer/ EntityTypeThemer.php - Generate the Legend render array.
- EntityTypeThemerUrl::getLegend in src/
Plugin/ GeofieldMapThemer/ EntityTypeThemerUrl.php - Generate the Legend render array.
- ListFieldThemer::getLegend in src/
Plugin/ GeofieldMapThemer/ ListFieldThemer.php - Generate the Legend render array.
- ListFieldThemerUrl::getLegend in src/
Plugin/ GeofieldMapThemer/ ListFieldThemerUrl.php - Generate the Legend render array.
- TaxonomyTermThemer::getLegend in src/
Plugin/ GeofieldMapThemer/ TaxonomyTermThemer.php - Generate the Legend render array.
File
- src/
MapThemerBase.php, line 219
Class
- MapThemerBase
- A base class for MapThemer plugins.
Namespace
Drupal\geofield_mapCode
protected function defaultLegendFooter(array $configuration) {
return [
'#type' => 'html_tag',
'#tag' => 'div',
'#value' => isset($configuration['legend_notes']) ? $configuration['legend_notes'] : '',
'#attributes' => [
'class' => [
'notes',
],
],
];
}