You are here

public function FilterPluginBase::canExpose in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/filter/FilterPluginBase.php \Drupal\views\Plugin\views\filter\FilterPluginBase::canExpose()
  2. 10 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.
5 methods override FilterPluginBase::canExpose()
Access::canExpose in core/modules/node/src/Plugin/views/filter/Access.php
Determine if a filter can be exposed.
LatestRevision::canExpose in core/modules/views/src/Plugin/views/filter/LatestRevision.php
Determine if a filter can be exposed.
LatestTranslationAffectedRevision::canExpose in core/modules/views/src/Plugin/views/filter/LatestTranslationAffectedRevision.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.
Status::canExpose in core/modules/media/src/Plugin/views/filter/Status.php
Determine if a filter can be exposed.

File

core/modules/views/src/Plugin/views/filter/FilterPluginBase.php, line 182

Class

FilterPluginBase
Base class for Views filters handler plugins.

Namespace

Drupal\views\Plugin\views\filter

Code

public function canExpose() {
  return TRUE;
}