You are here

public function SortPluginBase::canExpose in Views (for Drupal 7) 8.3

Determine if a sort can be exposed.

Overrides HandlerBase::canExpose

1 call to SortPluginBase::canExpose()
SortPluginBase::buildOptionsForm in lib/Drupal/views/Plugin/views/sort/SortPluginBase.php
Basic options for all sort criteria

File

lib/Drupal/views/Plugin/views/sort/SortPluginBase.php, line 29
Definition of Drupal\views\Plugin\views\sort\SortPluginBase.

Class

SortPluginBase
Base sort handler that has no options and performs a simple sort.

Namespace

Drupal\views\Plugin\views\sort

Code

public function canExpose() {
  return TRUE;
}