You are here

public function DataProviderBase::getShapesFromItem in Geolocation Field 8.3

Get shapes from field item list.

Parameters

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

Return value

array Renderable shapes.

Overrides DataProviderInterface::getShapesFromItem

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

File

src/DataProviderBase.php, line 304

Class

DataProviderBase
Class DataProviderBase.

Namespace

Drupal\geolocation

Code

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