public function WebformLocationPlaces::getInfo in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Element/WebformLocationPlaces.php \Drupal\webform\Element\WebformLocationPlaces::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
- src/
Element/ WebformLocationPlaces.php, line 22
Class
- WebformLocationPlaces
- Provides a webform element for a location places element.
Namespace
Drupal\webform\ElementCode
public function getInfo() {
return parent::getInfo() + [
'#app_id' => '',
'#api_key' => '',
];
}