You are here

public function DataProviderBase::getLocationsFromItem in Geolocation Field 8.3

Get locations from field item list.

Parameters

\Drupal\Core\Field\FieldItemInterface $fieldItem: Views field definition.

Return value

array Renderable locations.

Overrides DataProviderInterface::getLocationsFromItem

1 call to DataProviderBase::getLocationsFromItem()
DataProviderBase::getLocationsFromViewsRow in src/DataProviderBase.php
Get locations from views row.
2 methods override DataProviderBase::getLocationsFromItem()
GeolocationGeometry::getLocationsFromItem in modules/geolocation_geometry/src/Plugin/geolocation/DataProvider/GeolocationGeometry.php
Get locations from field item list.
GeolocationGpx::getLocationsFromItem in modules/geolocation_gpx/src/Plugin/geolocation/DataProvider/GeolocationGpx.php
Get locations from field item list.

File

src/DataProviderBase.php, line 297

Class

DataProviderBase
Class DataProviderBase.

Namespace

Drupal\geolocation

Code

public function getLocationsFromItem(FieldItemInterface $fieldItem) {
  return [];
}