protected function MapThemerBase::renderDefaultLegendIcon in Geofield Map 8.2
Define if to return the default Legend Icon.
This might act on values to which no image/Managed_file has been input. This might be overridden by MapThemer plugins to alter this default behaviour.
Return value
bool If the default Legend Icon cases/values should be listed in the legend.
6 calls to MapThemerBase::renderDefaultLegendIcon()
- 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 275
Class
- MapThemerBase
- A base class for MapThemer plugins.
Namespace
Drupal\geofield_mapCode
protected function renderDefaultLegendIcon() {
return TRUE;
}