class AnonymousUserSession in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Session/AnonymousUserSession.php \Drupal\Core\Session\AnonymousUserSession
- 9 core/lib/Drupal/Core/Session/AnonymousUserSession.php \Drupal\Core\Session\AnonymousUserSession
An account implementation representing an anonymous user.
Hierarchy
- class \Drupal\Core\Session\AnonymousUserSession extends \Drupal\Core\Session\UserSession
Expanded class hierarchy of AnonymousUserSession
16 files declare their use of AnonymousUserSession
- ActiveLinkResponseFilterTest.php in core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ ActiveLinkResponseFilterTest.php - AnonymousUserSessionTest.php in core/
tests/ Drupal/ Tests/ Core/ Session/ AnonymousUserSessionTest.php - CommentFieldAccessTest.php in core/
modules/ comment/ tests/ src/ Kernel/ CommentFieldAccessTest.php - CommentItem.php in core/
modules/ comment/ src/ Plugin/ Field/ FieldType/ CommentItem.php - CommentLinksTest.php in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentLinksTest.php
File
- core/
lib/ Drupal/ Core/ Session/ AnonymousUserSession.php, line 8
Namespace
Drupal\Core\SessionView source
class AnonymousUserSession extends UserSession {
/**
* Constructs a new anonymous user session.
*
* Intentionally don't allow parameters to be passed in like UserSession.
*/
public function __construct() {
}
}