You are here

public function BetterExposedFiltersWidgetBase::setViewsHandler in Better Exposed Filters 8.4

Same name and namespace in other branches
  1. 8.5 src/Plugin/BetterExposedFiltersWidgetBase.php \Drupal\better_exposed_filters\Plugin\BetterExposedFiltersWidgetBase::setViewsHandler()

Sets the exposed view handler plugin.

Parameters

\Drupal\views\Plugin\views\ViewsHandlerInterface $handler: The views handler plugin this configuration will affect when exposed.

Overrides BetterExposedFiltersWidgetInterface::setViewsHandler

File

src/Plugin/BetterExposedFiltersWidgetBase.php, line 76

Class

BetterExposedFiltersWidgetBase
Base class for Better exposed filters widget plugins.

Namespace

Drupal\better_exposed_filters\Plugin

Code

public function setViewsHandler(ViewsHandlerInterface $handler) {
  $this->handler = $handler;
}