public function MappingListBuilder::__construct in GatherContent 8.5
Same name and namespace in other branches
- 8.4 gathercontent_ui/src/MappingListBuilder.php \Drupal\gathercontent_ui\MappingListBuilder::__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
- gathercontent_ui/
src/ MappingListBuilder.php, line 54
Class
- MappingListBuilder
- Provides a listing of GatherContent Mapping entities.
Namespace
Drupal\gathercontent_uiCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, GatherContentClientInterface $client, EntityTypeManagerInterface $entityTypeManager, Request $request) {
parent::__construct($entity_type, $storage);
$this->client = $client;
$this->entityTypeManager = $entityTypeManager;
$this->request = $request;
}