You are here

public function BetterExposedFiltersWidgetBase::setView in Better Exposed Filters 8.5

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

Sets the view object.

Parameters

\Drupal\views\ViewExecutable $view: The views executable object.

Overrides BetterExposedFiltersWidgetInterface::setView

File

src/Plugin/BetterExposedFiltersWidgetBase.php, line 69

Class

BetterExposedFiltersWidgetBase
Base class for Better exposed filters widget plugins.

Namespace

Drupal\better_exposed_filters\Plugin

Code

public function setView(ViewExecutable $view) {
  $this->view = $view;
}