You are here

public function Status::canExpose in Drupal 8

Same name in this branch
  1. 8 core/modules/node/src/Plugin/views/filter/Status.php \Drupal\node\Plugin\views\filter\Status::canExpose()
  2. 8 core/modules/media/src/Plugin/views/filter/Status.php \Drupal\media\Plugin\views\filter\Status::canExpose()
Same name and namespace in other branches
  1. 9 core/modules/node/src/Plugin/views/filter/Status.php \Drupal\node\Plugin\views\filter\Status::canExpose()

Determine if a filter can be exposed.

Overrides FilterPluginBase::canExpose

File

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

Class

Status
Filter by published status.

Namespace

Drupal\node\Plugin\views\filter

Code

public function canExpose() {
  return FALSE;
}