Status.php

Definition of Drupal\file\Plugin\views\filter\Status.

Namespace

Drupal\file\Plugin\views\filter

File

drupal/core/modules/file/lib/Drupal/file/Plugin/views/filter/Status.php
View source
<?php

/**
 * @file
 * Definition of Drupal\file\Plugin\views\filter\Status.
 */
namespace Drupal\file\Plugin\views\filter;

use Drupal\Core\Annotation\Plugin;
use Drupal\views\Plugin\views\filter\InOperator;

/**
 * Filter by file status.
 *
 * @ingroup views_filter_handlers
 *
 * @Plugin(
 *   id = "file_status",
 *   module = "file"
 * )
 */
class Status extends InOperator {
  function get_value_options() {
    if (!isset($this->value_options)) {
      $this->value_options = _views_file_status();
    }
  }

}

Classes

Namesort descending Description
Status Filter by file status.