public function GeolocationMap::getInfo in Geolocation Field 8.3
Same name and namespace in other branches
- 8.2 src/Element/GeolocationMap.php \Drupal\geolocation\Element\GeolocationMap::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 ElementInterface::getInfo
File
- src/
Element/ GeolocationMap.php, line 49
Class
- GeolocationMap
- Provides a render element to display a geolocation map.
Namespace
Drupal\geolocation\ElementCode
public function getInfo() {
$class = get_class($this);
return [
'#process' => [
[
$class,
'processGroup',
],
],
'#pre_render' => [
[
$class,
'preRenderGroup',
],
[
$this,
'preRenderMap',
],
],
'#maptype' => NULL,
'#centre' => NULL,
'#id' => NULL,
'#controls' => NULL,
'#context' => [],
];
}