You are here

public function AccountInterface::isAnonymous in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Core/Session/AccountInterface.php \Drupal\Core\Session\AccountInterface::isAnonymous()

Returns TRUE if the account is anonymous.

Return value

bool TRUE if the account is anonymous.

1 method overrides AccountInterface::isAnonymous()
Account::isAnonymous in src/Session/Account.php
Returns TRUE if the account is anonymous.

File

lib/Drupal/Core/Session/AccountInterface.php, line 74
Contains \Drupal\Core\Session\AccountInterface.

Class

AccountInterface
Defines an account interface which represents the current user.

Namespace

Drupal\Core\Session

Code

public function isAnonymous();