drupal_anonymous_user

Functions that call drupal_anonymous_user()

Namesort iconLocationDescription
comment_form_alterdrupal/modules/comment/comment.moduleImplementation of hook_form_alter().
user_logoutdrupal/modules/user/user.pages.incMenu callback; logs the current user out, and redirects to the home page.
_sess_readdrupal/includes/session.incSession handler assigned by session_set_save_handler().

Functions called by drupal_anonymous_user()

Namesort iconLocationDescription
ip_addressdrupal/includes/bootstrap.incIf Drupal is behind a reverse proxy, we use the X-Forwarded-For header instead of $_SERVER['REMOTE_ADDR'], which would be the IP address of the proxy server, and not the client's. If Drupal is run in a cluster we use the...