You are here

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

Determine if a filter can be exposed.

Overrides HandlerBase::canExpose

1 call to FilterPluginBase::canExpose()
FilterPluginBase::buildOptionsForm in lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php
Provide the basic form which calls through to subforms. If overridden, it is best to call through to the parent, or to at least make sure all of the functions in this form are called.
4 methods override FilterPluginBase::canExpose()
Access::canExpose in lib/Views/node/Plugin/views/filter/Access.php
Determine if a filter can be exposed.
NodeTnid::canExpose in lib/Views/translation/Plugin/views/filter/NodeTnid.php
Determine if a filter can be exposed.
NodeTnidChild::canExpose in lib/Views/translation/Plugin/views/filter/NodeTnidChild.php
Determine if a filter can be exposed.
Status::canExpose in lib/Views/node/Plugin/views/filter/Status.php
Determine if a filter can be exposed.

File

lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php, line 169
Definition of Drupal\views\Plugin\views\filter\FilterPluginBase.

Class

FilterPluginBase
Base class for filters.

Namespace

Drupal\views\Plugin\views\filter

Code

public function canExpose() {
  return TRUE;
}