public function DataProviderBase::getPositionsFromItem in Geolocation Field 8.3
Same name and namespace in other branches
- 8.2 src/DataProviderBase.php \Drupal\geolocation\DataProviderBase::getPositionsFromItem()
Get positions from field item list.
Parameters
\Drupal\Core\Field\FieldItemInterface $fieldItem: Views field definition.
Return value
array Retrieved coordinates.
Overrides DataProviderInterface::getPositionsFromItem
1 call to DataProviderBase::getPositionsFromItem()
- DataProviderBase::getPositionsFromViewsRow in src/
DataProviderBase.php - Get positions from views row.
3 methods override DataProviderBase::getPositionsFromItem()
- AddressFieldProvider::getPositionsFromItem in modules/
geolocation_address/ src/ Plugin/ geolocation/ DataProvider/ AddressFieldProvider.php - Get positions from field item list.
- Geofield::getPositionsFromItem in modules/
geolocation_geofield/ src/ Plugin/ geolocation/ DataProvider/ Geofield.php - Get positions from field item list.
- GeolocationFieldProvider::getPositionsFromItem in src/
Plugin/ geolocation/ DataProvider/ GeolocationFieldProvider.php - Get positions from field item list.
File
- src/
DataProviderBase.php, line 290
Class
- DataProviderBase
- Class DataProviderBase.
Namespace
Drupal\geolocationCode
public function getPositionsFromItem(FieldItemInterface $fieldItem) {
return [];
}