protected function WebformLocationGeocomplete::defineDefaultProperties in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_location_geocomplete/src/Plugin/WebformElement/WebformLocationGeocomplete.php \Drupal\webform_location_geocomplete\Plugin\WebformElement\WebformLocationGeocomplete::defineDefaultProperties()
Define an element's default properties.
Return value
array An associative array contain an the element's default properties.
Overrides WebformLocationBase::defineDefaultProperties
File
- modules/
webform_location_geocomplete/ src/ Plugin/ WebformElement/ WebformLocationGeocomplete.php, line 31
Class
- WebformLocationGeocomplete
- Provides an 'location' element using Geocomplete.
Namespace
Drupal\webform_location_geocomplete\Plugin\WebformElementCode
protected function defineDefaultProperties() {
return [
'geolocation' => FALSE,
'hidden' => FALSE,
'map' => FALSE,
'api_key' => '',
] + parent::defineDefaultProperties() + $this
->defineDefaultBaseProperties();
}