public function Current::init in Views (for Drupal 7) 8.3
Overrides Drupal\views\Plugin\views\filter\BooleanOperator::init().
Overrides BooleanOperator::init
File
- lib/
Views/ user/ Plugin/ views/ filter/ Current.php, line 29 - Definition of views_handler_filter_user_current.
Class
- Current
- Filter handler for the current user.
Namespace
Views\user\Plugin\views\filterCode
public function init(ViewExecutable $view, &$options) {
parent::init($view, $options);
$this->value_value = t('Is the logged in user');
}