UserListBuilder::buildRow

public UserListBuilder::buildRow(EntityInterface $entity) Builds a row for an entity in the entity listing. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for this row of the list. Return value array A render array structure of fields for this entity. Overrides EntityListBuilder::buildRow See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/user/src/UserListBuilder.php, line 130 Class UserListBuilder Defines a class to build a listing of user en

UserListBuilder::$queryFactory

The entity query factory. Type: \Drupal\Core\Entity\Query\QueryFactory File core/modules/user/src/UserListBuilder.php, line 27 Class UserListBuilder Defines a class to build a listing of user entities. Namespace Drupal\user Code protected $queryFactory;

UserListBuilder

Defines a class to build a listing of user entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityListBuilder implements EntityHandlerInterface, EntityListBuilderInterfaceclass \Drupal\user\UserListBuilder See also \Drupal\user\Entity\User File core/modules/user/src/UserListBuilder.php, line 20 Namespace Drupal\user Members Name Modifiers Type Description DependencySerializatio

UserListBuilder::$dateFormatter

The date formatter service. Type: \Drupal\Core\Datetime\DateFormatterInterface File core/modules/user/src/UserListBuilder.php, line 34 Class UserListBuilder Defines a class to build a listing of user entities. Namespace Drupal\user Code protected $dateFormatter;

UserInterface::setLastAccessTime

public UserInterface::setLastAccessTime($timestamp) Sets the UNIX timestamp when the user last accessed the site.. Parameters int $timestamp: Timestamp of the last access. Return value \Drupal\user\UserInterface The called user entity. File core/modules/user/src/UserInterface.php, line 101 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function setLastAccessTime($timestamp);

UserInterface::setUsername

public UserInterface::setUsername($username) Sets the username of this account. Parameters string $username: The new user name. Return value \Drupal\user\UserInterface The called user entity. File core/modules/user/src/UserInterface.php, line 52 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function setUsername($username);

UserInterface::setLastLoginTime

public UserInterface::setLastLoginTime($timestamp) Sets the UNIX timestamp when the user last logged in. Parameters int $timestamp: Timestamp of the last login time. Return value \Drupal\user\UserInterface The called user entity. File core/modules/user/src/UserInterface.php, line 120 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function setLastLoginTime($timestamp);

UserInterface::setPassword

public UserInterface::setPassword($password) Sets the user password. Parameters string $password: The new unhashed password. Return value \Drupal\user\UserInterface The called user entity. File core/modules/user/src/UserInterface.php, line 71 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function setPassword($password);

UserInterface::setExistingPassword

public UserInterface::setExistingPassword($password) Sets the existing plain text password. Required for validation when changing the password, name or email fields. Parameters string $password: The existing plain text password of the user. Return value $this File core/modules/user/src/UserInterface.php, line 172 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function setExistingPassword($password);

UserInterface::hasRole

public UserInterface::hasRole($rid) Whether a user has a certain role. Parameters string $rid: The role ID to check. Return value bool Returns TRUE if the user has the role, otherwise FALSE. File core/modules/user/src/UserInterface.php, line 25 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function hasRole($rid);