You are here

public function DataProviderInterface::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.

1 method overrides DataProviderInterface::getLocationsFromItem()
DataProviderBase::getLocationsFromItem in src/DataProviderBase.php
Get locations from field item list.

File

src/DataProviderInterface.php, line 97

Class

DataProviderInterface
Defines an interface for geolocation DataProvider plugins.

Namespace

Drupal\geolocation

Code

public function getLocationsFromItem(FieldItemInterface $fieldItem);