public function NegotiatorBase::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/jsonapi/src/Revisions/NegotiatorBase.php \Drupal\jsonapi\Revisions\NegotiatorBase::__construct()
Constructs a version negotiator instance.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- core/
modules/ jsonapi/ src/ Revisions/ NegotiatorBase.php, line 32
Class
- NegotiatorBase
- Base implementation for version negotiators.
Namespace
Drupal\jsonapi\RevisionsCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}