You are here

public static function BetterExposedFiltersWidgetInterface::isApplicable in Better Exposed Filters 8.5

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

Verify this plugin can be used on the form element.

Parameters

mixed $handler: The handler type we are altering (e.g. filter, pager, sort).

array $options: The options for this handler.

Return value

bool If this plugin can be used.

3 methods override BetterExposedFiltersWidgetInterface::isApplicable()
FilterWidgetBase::isApplicable in src/Plugin/better_exposed_filters/filter/FilterWidgetBase.php
Verify this plugin can be used on the form element.
PagerWidgetBase::isApplicable in src/Plugin/better_exposed_filters/pager/PagerWidgetBase.php
Verify this plugin can be used on the form element.
SortWidgetBase::isApplicable in src/Plugin/better_exposed_filters/sort/SortWidgetBase.php
Verify this plugin can be used on the form element.

File

src/Plugin/BetterExposedFiltersWidgetInterface.php, line 44

Class

BetterExposedFiltersWidgetInterface
Defines an interface for Better exposed filters filter widget plugins.

Namespace

Drupal\better_exposed_filters\Plugin

Code

public static function isApplicable($handler = NULL, array $options = []);