public function WebformLocationGeocomplete::getInfo in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_location_geocomplete/src/Element/WebformLocationGeocomplete.php \Drupal\webform_location_geocomplete\Element\WebformLocationGeocomplete::getInfo()
Returns the element properties for this element.
Return value
array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format.
Overrides WebformLocationBase::getInfo
File
- modules/
webform_location_geocomplete/ src/ Element/ WebformLocationGeocomplete.php, line 23
Class
- WebformLocationGeocomplete
- Provides a webform element for a location geocomplete element.
Namespace
Drupal\webform_location_geocomplete\ElementCode
public function getInfo() {
return parent::getInfo() + [
'#api_key' => '',
];
}