1 drupal.inc drupal_anonymous_user()

Generates a default anonymous $user object.

Deprecated

since 1.0.0

See also

backdrop_anonymous_user()

Related topics

File

core/includes/drupal.inc, line 337
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_anonymous_user() {
  return backdrop_anonymous_user();
}