You are here

public function FilterPluginBase::canExpose in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/filter/FilterPluginBase.php \Drupal\views\Plugin\views\filter\FilterPluginBase::canExpose()

Determine if a filter can be exposed.

Overrides HandlerBase::canExpose

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

File

core/modules/views/src/Plugin/views/filter/FilterPluginBase.php, line 181
Contains \Drupal\views\Plugin\views\filter\FilterPluginBase.

Class

FilterPluginBase
Base class for Views filters handler plugins.

Namespace

Drupal\views\Plugin\views\filter

Code

public function canExpose() {
  return TRUE;
}