public function AccountInterface::isAnonymous in Service Container 7
Same name and namespace in other branches
- 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\SessionCode
public function isAnonymous();