Same name and namespace in other branches
  1. 8.9.x core/modules/user/src/Plugin/views/filter/Current.php \Drupal\user\Plugin\views\filter\Current::init()
  2. 9 core/modules/user/src/Plugin/views/filter/Current.php \Drupal\user\Plugin\views\filter\Current::init()

File

core/modules/user/src/Plugin/views/filter/Current.php, line 21

Class

Current

Namespace

Drupal\user\Plugin\views\filter

Code

public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
  parent::init($view, $display, $options);
  $this->value_value = $this
    ->t('Is the logged in user');
}