public function HttpConfigRequestListBuilder::__construct in HTTP Client Manager 8
Same name and namespace in other branches
- 8.2 src/HttpConfigRequestListBuilder.php \Drupal\http_client_manager\HttpConfigRequestListBuilder::__construct()
Constructs a new EntityListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.
Overrides EntityListBuilder::__construct
File
- src/
HttpConfigRequestListBuilder.php, line 28
Class
- HttpConfigRequestListBuilder
- Provides a listing of Http Config Request entities.
Namespace
Drupal\http_client_managerCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, RequestStack $request_stack) {
parent::__construct($entity_type, $storage);
$this->request = $request_stack
->getCurrentRequest();
}