You are here

public static property GeofieldMap::$components in Geofield Map 8

File

src/Element/GeofieldMap.php, line 20

Class

GeofieldMap
Provides a Geofield Map form element.

Namespace

Drupal\geofield_map\Element

Code

public static $components = [
  'lat' => [
    'title' => 'Latitude',
    'range' => 90,
  ],
  'lon' => [
    'title' => 'Longitude',
    'range' => 180,
  ],
];