You are here

public function MapThemerBase::getDefaultThemerElement in Geofield Map 8.2

7 calls to MapThemerBase::getDefaultThemerElement()
CustomIconThemer::buildMapThemerElement in src/Plugin/GeofieldMapThemer/CustomIconThemer.php
Provides a Map Themer Options Element.
EntityTypeThemer::buildMapThemerElement in src/Plugin/GeofieldMapThemer/EntityTypeThemer.php
Provides a Map Themer Options Element.
EntityTypeThemerUrl::buildMapThemerElement in src/Plugin/GeofieldMapThemer/EntityTypeThemerUrl.php
Provides a Map Themer Options Element.
ListFieldThemer::buildMapThemerElement in src/Plugin/GeofieldMapThemer/ListFieldThemer.php
Provides a Map Themer Options Element.
ListFieldThemerUrl::buildMapThemerElement in src/Plugin/GeofieldMapThemer/ListFieldThemerUrl.php
Provides a Map Themer Options Element.

... See full list

File

src/MapThemerBase.php, line 360

Class

MapThemerBase
A base class for MapThemer plugins.

Namespace

Drupal\geofield_map

Code

public function getDefaultThemerElement(array $defaults) {
  $default_value = !empty($defaults['map_marker_and_infowindow']['theming'][$this->pluginId]['values']) ? $defaults['map_marker_and_infowindow']['theming'][$this->pluginId]['values'] : $this
    ->defaultSettings('values');
  return $default_value;
}