You are here

public function WebformLocationGeocomplete::getInfo in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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\Element

Code

public function getInfo() {
  return parent::getInfo() + [
    '#api_key' => '',
  ];
}