You are here

public function DataProviderBase::setViewsField in Geolocation Field 8.2

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

Set views field.

Parameters

\Drupal\views\Plugin\views\field\FieldPluginBase $viewsField: Views field.

Overrides DataProviderInterface::setViewsField

File

src/DataProviderBase.php, line 215

Class

DataProviderBase
Class DataProviderBase.

Namespace

Drupal\geolocation

Code

public function setViewsField(FieldPluginBase $viewsField) {
  $this->viewsField = $viewsField;
}