function Status::canExpose

Determine if a filter can be exposed.

Overrides FilterPluginBase::canExpose

File

core/modules/node/src/Plugin/views/filter/Status.php, line 30

Class

Status
Filters out unpublished content if the current user cannot view it.

Namespace

Drupal\node\Plugin\views\filter

Code

public function canExpose() {
  return FALSE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.