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

Provides the anonymous user name for consistency with User entities.

Overrides UserInterface::label

File

includes/anonymous.inc, line 39

Class

AnonymousUser
Provides a class for managing anonymous users.

Code

public function label() {
  return user_format_name($this);
}