public function Map::defaultConfiguration in Search API Location 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides LocationInputPluginBase::defaultConfiguration
File
- src/
Plugin/ search_api_location/ location_input/ Map.php, line 39
Class
- Map
- Represents the Raw Location Input.
Namespace
Drupal\search_api_location\Plugin\search_api_location\location_inputCode
public function defaultConfiguration() {
$configuration = parent::defaultConfiguration();
$configuration += [
'radius_border_color' => '',
'radius_border_weight' => '',
'radius_background_color' => '',
'radius_background_transparency' => '',
'marker_image' => '',
];
return $configuration;
}