You are here

public static function WebformLocationBase::getLocationAttributes in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Element/WebformLocationBase.php \Drupal\webform\Element\WebformLocationBase::getLocationAttributes()

Get location attributes.

Return value

array An associative array container location attribute name and titles.

1 call to WebformLocationBase::getLocationAttributes()
WebformLocationBase::getCompositeElements in src/Element/WebformLocationBase.php
Get a renderable array of webform elements.
2 methods override WebformLocationBase::getLocationAttributes()
WebformLocationGeocomplete::getLocationAttributes in modules/webform_location_geocomplete/src/Element/WebformLocationGeocomplete.php
Get location attributes.
WebformLocationPlaces::getLocationAttributes in src/Element/WebformLocationPlaces.php
Get location attributes.

File

src/Element/WebformLocationBase.php, line 38

Class

WebformLocationBase
Provides a webform base element for a location element.

Namespace

Drupal\webform\Element

Code

public static function getLocationAttributes() {
  return [];
}