You are here

public function LocationInputInterface::getForm in Geolocation Field 8.2

Same name and namespace in other branches
  1. 8.3 src/LocationInputInterface.php \Drupal\geolocation\LocationInputInterface::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.

1 method overrides LocationInputInterface::getForm()
LocationInputBase::getForm in src/LocationInputBase.php
Get center form.

File

src/LocationInputInterface.php, line 89

Class

LocationInputInterface
Defines an interface for geolocation LocationInput plugins.

Namespace

Drupal\geolocation

Code

public function getForm($center_option_id, array $center_option_settings, $context = NULL, array $default_value = NULL);