public function RoleListBuilder::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/user/src/RoleListBuilder.php \Drupal\user\RoleListBuilder::__construct()
RoleListBuilder constructor.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entityType: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
Overrides DraggableListBuilder::__construct
File
- core/
modules/ user/ src/ RoleListBuilder.php, line 37
Class
- RoleListBuilder
- Defines a class to build a listing of user role entities.
Namespace
Drupal\userCode
public function __construct(EntityTypeInterface $entityType, EntityStorageInterface $storage, MessengerInterface $messenger) {
parent::__construct($entityType, $storage);
$this->messenger = $messenger;
}