public function EntityReferenceRevisionsRelationshipSubscriber::__construct in Entity Share 8.3
Same name and namespace in other branches
- 8 modules/entity_share_client/src/EventSubscriber/EntityReferenceRevisionsRelationshipSubscriber.php \Drupal\entity_share_client\EventSubscriber\EntityReferenceRevisionsRelationshipSubscriber::__construct()
- 8.2 modules/entity_share_client/src/EventSubscriber/EntityReferenceRevisionsRelationshipSubscriber.php \Drupal\entity_share_client\EventSubscriber\EntityReferenceRevisionsRelationshipSubscriber::__construct()
Constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- modules/
entity_share_client/ src/ EventSubscriber/ EntityReferenceRevisionsRelationshipSubscriber.php, line 31
Class
- EntityReferenceRevisionsRelationshipSubscriber
- Allows entity reference revisions fields to be supported.
Namespace
Drupal\entity_share_client\EventSubscriberCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}