public function FilterPluginBase::canExpose

Determine if a filter can be exposed.

Overrides HandlerBase::canExpose

1 call to FilterPluginBase::canExpose()
FilterPluginBase::buildOptionsForm in drupal/core/modules/views/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.
2 methods override FilterPluginBase::canExpose()
Access::canExpose in drupal/core/modules/node/lib/Drupal/node/Plugin/views/filter/Access.php
Determine if a filter can be exposed.
Status::canExpose in drupal/core/modules/node/lib/Drupal/node/Plugin/views/filter/Status.php
Determine if a filter can be exposed.

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php, line 172
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;
}