You are here

public function GeocoderBase::getOptionsForm in Geolocation Field 8

Same name and namespace in other branches
  1. 8.3 src/GeocoderBase.php \Drupal\geolocation\GeocoderBase::getOptionsForm()
  2. 8.2 src/GeocoderBase.php \Drupal\geolocation\GeocoderBase::getOptionsForm()

Return additional options form.

Return value

array Options form.

Overrides GeocoderInterface::getOptionsForm

2 methods override GeocoderBase::getOptionsForm()
GoogleGeocodingAPI::getOptionsForm in src/Plugin/geolocation/Geocoder/GoogleGeocodingAPI.php
Return additional options form.
GooglePlacesAPI::getOptionsForm in modules/geolocation_google_places_api/src/Plugin/geolocation/Geocoder/GooglePlacesAPI.php
Return additional options form.

File

src/GeocoderBase.php, line 58

Class

GeocoderBase
Class GeocoderBase.

Namespace

Drupal\geolocation

Code

public function getOptionsForm() {
  return [
    '#type' => 'html_tag',
    '#tag' => 'span',
    '#value' => $this
      ->t('No settings available.'),
  ];
}