function Current::init

Overrides BooleanOperator::init

File

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

Class

Current
Filter handler for the current user.

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');
}

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