UserListBuilder::buildHeader

public UserListBuilder::buildHeader() Builds the header row for the entity listing. Return value array A render array structure of header strings. Overrides EntityListBuilder::buildHeader See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/user/src/UserListBuilder.php, line 93 Class UserListBuilder Defines a class to build a listing of user entities. Namespace Drupal\user Code public function buildHeader() { $header = array( 'username' => array(

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::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::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::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::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);

UserInterface::isActive

public UserInterface::isActive() Returns TRUE if the user is active. Return value bool TRUE if the user is active, false otherwise. File core/modules/user/src/UserInterface.php, line 128 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function isActive();