You are here

function views_handler_filter_user_current::construct in Views (for Drupal 7) 6.2

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. 7.3 modules/user/views_handler_filter_user_current.inc \views_handler_filter_user_current::construct()

Views handlers use a special construct function so that we can more easily construct them with variable arguments.

Overrides views_handler_filter_boolean_operator::construct

File

modules/user/views_handler_filter_user_current.inc, line 7

Class

views_handler_filter_user_current
Filter handler for the current user

Code

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