Defines the user entity class.

Hierarchy

Expanded class hierarchy of User

File

core/modules/user/user.entity.inc, line 11
Entity classes and controllers for User module.

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
Entity::bundle public function Implements EntityInterface::bundle(). Overrides EntityInterface::bundle
Entity::createDuplicate public function Implements EntityInterface::createDuplicate(). Overrides EntityInterface::createDuplicate
Entity::delete public function Implements EntityInterface::delete(). Overrides EntityInterface::delete
Entity::isNew public function Implements EntityInterface::isNew(). Overrides EntityInterface::isNew
Entity::__construct public function Constructs a new entity object. Overrides EntityInterface::__construct
User::$access public property The timestamp when the user last accessed the site. A value of 0 means the user has never accessed the site.
User::$created public property The timestamp when the user was created.
User::$init public property The email address used for initial account creation.
User::$langcode public property The user's langcode.
User::$login public property The timestamp when the user last logged in. A value of 0 means the user has never logged in.
User::$mail public property The user's email address.
User::$name public property The unique user name.
User::$pass public property The user's password (hashed).
User::$picture public property The file entity for the user's picture.
User::$preferred_langcode public property The user's preferred langcode for receiving emails and viewing the site.
User::$roles public property An unindexed list of role names.
User::$signature public property The user's signature.
User::$signature_format public property The user's signature format.
User::$status public property Whether the user is active (1) or blocked (0).
User::$timezone public property The user's timezone.
User::$uid public property The user ID.
User::entityType public function Implements EntityInterface::entityType(). Overrides EntityInterface::entityType
User::id public function Implements EntityInterface::id(). Overrides EntityInterface::id
User::label public function Implements EntityInterface::label(). Overrides EntityInterface::label
User::save public function Implements EntityInterface::save(). Overrides Entity::save
User::uri public function Implements EntityInterface::uri(). Overrides EntityInterface::uri