You are here

public function DataProviderInterface::getLocationsFromViewsRow in Geolocation Field 8.3

Get locations from views row.

Parameters

\Drupal\views\ResultRow $row: Row.

\Drupal\views\Plugin\views\field\FieldPluginBase $views_field: Views field definition.

Return value

array Renderable locations.

1 method overrides DataProviderInterface::getLocationsFromViewsRow()
DataProviderBase::getLocationsFromViewsRow in src/DataProviderBase.php
Get locations from views row.

File

src/DataProviderInterface.php, line 62

Class

DataProviderInterface
Defines an interface for geolocation DataProvider plugins.

Namespace

Drupal\geolocation

Code

public function getLocationsFromViewsRow(ResultRow $row, FieldPluginBase $views_field = NULL);