You are here

public function VeflBef::__construct in Views exposed form layout 8.3

BetterExposedFilters constructor.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\better_exposed_filters\Plugin\BetterExposedFiltersWidgetManager $filter_widget_manager: The better exposed filter widget manager for filter widgets.

\Drupal\better_exposed_filters\Plugin\BetterExposedFiltersWidgetManager $pager_widget_manager: The better exposed filter widget manager for pager widgets.

\Drupal\better_exposed_filters\Plugin\BetterExposedFiltersWidgetManager $sort_widget_manager: The better exposed filter widget manager for sort widgets.

\Drupal\vefl\Vefl $vefl: The vefl layout helper.

File

modules/vefl_bef/src/Plugin/views/exposed_form/VeflBef.php, line 71

Class

VeflBef
Exposed form plugin that provides a better exposed filters form with layout.

Namespace

Drupal\vefl_bef\Plugin\views\exposed_form

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, BetterExposedFiltersWidgetManager $filter_widget_manager, BetterExposedFiltersWidgetManager $pager_widget_manager, BetterExposedFiltersWidgetManager $sort_widget_manager, Vefl $vefl) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $this->filterWidgetManager = $filter_widget_manager, $this->pagerWidgetManager = $pager_widget_manager, $this->sortWidgetManager = $sort_widget_manager);
  $this->vefl = $vefl;
}