You are here

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

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

File

src/Plugin/better_exposed_filters/sort/SortWidgetBase.php, line 49

Class

SortWidgetBase
Base class for Better exposed pager widget plugins.

Namespace

Drupal\better_exposed_filters\Plugin\better_exposed_filters\sort

Code

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