You are here

public function Location::getForm in Geolocation Field 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/geolocation/LocationInput/Location.php \Drupal\geolocation\Plugin\geolocation\LocationInput\Location::getForm()

Get center form.

Parameters

int $center_option_id: LocationInput option ID.

array $center_option_settings: The current feature settings.

mixed $context: Context like field formatter, field widget or view.

array $default_value: Optional form values.

Return value

array Form.

Overrides LocationInputBase::getForm

File

src/Plugin/geolocation/LocationInput/Location.php, line 138

Class

Location
Location based proximity center.

Namespace

Drupal\geolocation\Plugin\geolocation\LocationInput

Code

public function getForm($center_option_id, array $center_option_settings, $context = NULL, array $default_value = NULL) {
  return [];
}