public function Current::init

Overrides Drupal\views\Plugin\views\filter\BooleanOperator::init().

Overrides BooleanOperator::init

File

drupal/core/modules/user/lib/Drupal/user/Plugin/views/filter/Current.php, line 27
Definition of views_handler_filter_user_current.

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 = t('Is the logged in user');
}