You are here

public function MapCenterBase::getSettingsForm in Geolocation Field 8.2

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

Settings form by ID and context.

Parameters

int $center_option_id: MapCenter option ID.

array $settings: The current option settings.

mixed $context: Current context.

Return value

array A form array to be integrated in whatever.

Overrides MapCenterInterface::getSettingsForm

1 call to MapCenterBase::getSettingsForm()
FitLocations::getSettingsForm in src/Plugin/geolocation/MapCenter/FitLocations.php
Settings form by ID and context.
2 methods override MapCenterBase::getSettingsForm()
FitLocations::getSettingsForm in src/Plugin/geolocation/MapCenter/FitLocations.php
Settings form by ID and context.
Location::getSettingsForm in src/Plugin/geolocation/MapCenter/Location.php
Settings form by ID and context.

File

src/MapCenterBase.php, line 48

Class

MapCenterBase
Class MapCenterBase.

Namespace

Drupal\geolocation

Code

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