You are here

public function LocationBase::getSettingsForm in Geolocation Field 8.3

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

Settings form by ID and context.

Parameters

int $location_option_id: Location option ID.

array $settings: The current option settings.

mixed $context: Current context.

Return value

array A form array to be integrated in whatever.

Overrides LocationInterface::getSettingsForm

2 methods override LocationBase::getSettingsForm()
FixedCoordinates::getSettingsForm in src/Plugin/geolocation/Location/FixedCoordinates.php
Settings form by ID and context.
IpStack::getSettingsForm in src/Plugin/geolocation/Location/IpStack.php
Settings form by ID and context.

File

src/LocationBase.php, line 48

Class

LocationBase
Class LocationBase.

Namespace

Drupal\geolocation

Code

public function getSettingsForm($option_id = NULL, array $settings = [], $context = NULL) {
  $form = [];
  return $form;
}