You are here

public function DataProviderInterface::getPositionsFromItem in Geolocation Field 8.2

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

Get positions from field item list.

Parameters

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

Return value

array Retrieved locations.

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

File

src/DataProviderInterface.php, line 60

Class

DataProviderInterface
Defines an interface for geolocation DataProvider plugins.

Namespace

Drupal\geolocation

Code

public function getPositionsFromItem(FieldItemInterface $fieldItem);