You are here

public function views_handler_filter_user_current::construct in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 modules/user/views_handler_filter_user_current.inc \views_handler_filter_user_current::construct()
  2. 6.2 modules/user/views_handler_filter_user_current.inc \views_handler_filter_user_current::construct()

Views handlers use a special construct function.

Allows it to more easily construct them with variable arguments.

Overrides views_handler_filter_boolean_operator::construct

File

modules/user/views_handler_filter_user_current.inc, line 18
Definition of views_handler_filter_user_current.

Class

views_handler_filter_user_current
Filter handler for the current user.

Code

public function construct() {
  parent::construct();
  $this->value_value = t('Is the logged in user');
}