You are here

public function DataProviderInterface::getPositionsFromItem in Geolocation Field 8.3

Same name and namespace in other branches
  1. 8.2 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 coordinates.

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

File

src/DataProviderInterface.php, line 86

Class

DataProviderInterface
Defines an interface for geolocation DataProvider plugins.

Namespace

Drupal\geolocation

Code

public function getPositionsFromItem(FieldItemInterface $fieldItem);