You are here

public function GeofieldProximitySourceBase::setViewHandler in Geofield 8

Sets view handler which uses this proximity plugin.

Parameters

\Drupal\views\Plugin\views\HandlerBase $view_handler: The view handler which uses this proximity plugin.

Overrides GeofieldProximitySourceInterface::setViewHandler

File

src/Plugin/GeofieldProximitySourceBase.php, line 121

Class

GeofieldProximitySourceBase
Base class for Geofield Proximity Source plugins.

Namespace

Drupal\geofield\Plugin

Code

public function setViewHandler(HandlerBase $view_handler) {
  $this->viewHandler = $view_handler;
}