1 views_plugin_argument_default_current_user.inc views_plugin_argument_default_current_user::get_argument()

Return the default argument.

This needs to be overridden by every default argument handler to properly do what is needed.

Overrides views_plugin_argument_default::get_argument

File

core/modules/user/views/views_plugin_argument_default_current_user.inc, line 13
Contains the current user argument default plugin.

Class

views_plugin_argument_default_current_user
Default argument plugin to extract the global $user

Code

function get_argument() {
  global $user;
  return $user->uid;
}