public function WebformAccessGroupListBuilder::__construct in Webform 8.5
Constructs a new WebformListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.
\Drupal\Core\Session\AccountInterface $current_user: The current user.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
Overrides EntityListBuilder::__construct
File
- modules/
webform_access/ src/ WebformAccessGroupListBuilder.php, line 55
Class
- WebformAccessGroupListBuilder
- Defines a class to build a listing of webform access group entities.
Namespace
Drupal\webform_accessCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, AccountInterface $current_user, EntityTypeManagerInterface $entity_type_manager) {
parent::__construct($entity_type, $storage);
$this->currentUser = $current_user;
$this->entityTypeManager = $entity_type_manager;
}