1.20.x anonymous.inc public AnonymousUser::id()

Provides the UID for consistency with User entities.

Overrides UserInterface::id

File

includes/anonymous.inc, line 32

Class

AnonymousUser
Provides a class for managing anonymous users.

Code

public function id() {
  return 0;
}