Same filename in this branch
- 10 core/modules/file/src/Plugin/views/filter/Status.php
- 10 core/modules/media/src/Plugin/views/filter/Status.php
- 10 core/modules/node/src/Plugin/views/filter/Status.php
Same filename and directory in other branches
- 8.9.x core/modules/file/src/Plugin/views/filter/Status.php
- 9 core/modules/file/src/Plugin/views/filter/Status.php
Namespace
Drupal\file\Plugin\views\filter
File
core/modules/file/src/Plugin/views/filter/Status.php
View source
<?php
namespace Drupal\file\Plugin\views\filter;
use Drupal\file\FileInterface;
use Drupal\views\Attribute\ViewsFilter;
use Drupal\views\Plugin\views\filter\InOperator;
class Status extends InOperator {
public function getValueOptions() {
if (!isset($this->valueOptions)) {
$this->valueOptions = [
0 => $this
->t('Temporary'),
FileInterface::STATUS_PERMANENT => $this
->t('Permanent'),
];
}
return $this->valueOptions;
}
}
Classes