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