function Status::getValueOptions

Same name in other branches
  1. 9 core/modules/file/src/Plugin/views/filter/Status.php \Drupal\file\Plugin\views\filter\Status::getValueOptions()
  2. 10 core/modules/file/src/Plugin/views/filter/Status.php \Drupal\file\Plugin\views\filter\Status::getValueOptions()
  3. 11.x core/modules/file/src/Plugin/views/filter/Status.php \Drupal\file\Plugin\views\filter\Status::getValueOptions()

Overrides InOperator::getValueOptions

File

core/modules/file/src/Plugin/views/filter/Status.php, line 16

Class

Status
Filter by file status.

Namespace

Drupal\file\Plugin\views\filter

Code

public function getValueOptions() {
    if (!isset($this->valueOptions)) {
        $this->valueOptions = _views_file_status();
    }
    return $this->valueOptions;
}

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