You are here

public function LocationInputInterface::getCoordinates in Geolocation Field 8.3

Same name and namespace in other branches
  1. 8.2 src/LocationInputInterface.php \Drupal\geolocation\LocationInputInterface::getCoordinates()

Get center value.

Parameters

mixed $form_value: Form value.

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.

Return value

array Render array.

1 method overrides LocationInputInterface::getCoordinates()
LocationInputBase::getCoordinates in src/LocationInputBase.php
Get center value.

File

src/LocationInputInterface.php, line 72

Class

LocationInputInterface
Defines an interface for geolocation LocationInput plugins.

Namespace

Drupal\geolocation

Code

public function getCoordinates($form_value, $center_option_id, array $center_option_settings, $context = NULL);