You are here

public static function DefaultWidget::isApplicable in Better Exposed Filters 8.4

Same name and namespace in other branches
  1. 8.5 src/Plugin/better_exposed_filters/filter/DefaultWidget.php \Drupal\better_exposed_filters\Plugin\better_exposed_filters\filter\DefaultWidget::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.

Overrides FilterWidgetBase::isApplicable

File

src/Plugin/better_exposed_filters/filter/DefaultWidget.php, line 18

Class

DefaultWidget
Default widget implementation.

Namespace

Drupal\better_exposed_filters\Plugin\better_exposed_filters\filter

Code

public static function isApplicable($filter = NULL, array $filter_options = []) {
  return TRUE;
}