UserLoginForm::$renderer

The renderer. Type: \Drupal\Core\Render\RendererInterface File core/modules/user/src/Form/UserLoginForm.php, line 44 Class UserLoginForm Provides a user login form. Namespace Drupal\user\Form Code protected $renderer;

UserLoginForm

Provides a user login form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\user\Form\UserLoginForm File core/modules/user/src/Form/UserLoginForm.php, line 16 Namespace Drupal\user\Form Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds prot

UserLoginForm::$flood

The flood service. Type: \Drupal\Core\Flood\FloodInterface File core/modules/user/src/Form/UserLoginForm.php, line 23 Class UserLoginForm Provides a user login form. Namespace Drupal\user\Form Code protected $flood;

UserListBuilder::__construct

public UserListBuilder::__construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, QueryFactory $query_factory, DateFormatterInterface $date_formatter, RedirectDestinationInterface $redirect_destination) Constructs a new UserListBuilder object. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class. \Drupal\Core\Entity\Query\QueryFactory $query_factory: The en

UserListBuilder::load

public UserListBuilder::load() Loads entities of this type from storage for listing. This allows the implementation to manipulate the listing, like filtering or sorting the loaded entities. Return value \Drupal\Core\Entity\EntityInterface[] An array of entities implementing \Drupal\Core\Entity\EntityInterface. Overrides EntityListBuilder::load File core/modules/user/src/UserListBuilder.php, line 80 Class UserListBuilder Defines a class to build a listing of user entities. Namespace Dru

UserListBuilder::render

public UserListBuilder::render() Builds the entity listing as renderable array for table.html.twig. @todo Add a link to add a new item to the #empty text. Overrides EntityListBuilder::render File core/modules/user/src/UserListBuilder.php, line 181 Class UserListBuilder Defines a class to build a listing of user entities. Namespace Drupal\user Code public function render() { $build = parent::render(); $build['table']['#empty'] = $this->t('No people available.'); return $build;

UserListBuilder::getOperations

public UserListBuilder::getOperations(EntityInterface $entity) Provides an array of information to build a list of operation links. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity the operations are for. Return value array An associative array of operation link data for this list, keyed by operation name, containing the following key-value pairs: title: The localized title of the operation. url: An instance of \Drupal\Core\Url for the operation URL. weight: The weight of

UserListBuilder::createInstance

public static UserListBuilder::createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) Instantiates a new instance of this entity handler. This is a factory method that returns a new instance of this object. The factory should pass any needed dependencies into the constructor of this object, but not the container itself. Every call to this method must return a new instance of this object; that is, it may not implement a singleton. Parameters \Symfony\Component\Dependenc

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::$redirectDestination

The redirect destination service. Type: \Drupal\Core\Routing\RedirectDestinationInterface File core/modules/user/src/UserListBuilder.php, line 41 Class UserListBuilder Defines a class to build a listing of user entities. Namespace Drupal\user Code protected $redirectDestination;