You are here

public function EntityShareEmbeddedEntitiesEnhancer::__construct in Entity Share 8.3

File

src/Plugin/jsonapi/FieldEnhancer/EntityShareEmbeddedEntitiesEnhancer.php, line 43

Class

EntityShareEmbeddedEntitiesEnhancer
Alter rich text exposed data to provide import URL for embedded entities.

Namespace

Drupal\entity_share\Plugin\jsonapi\FieldEnhancer

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition, EntityTypeManagerInterface $entity_type_manager, LanguageManagerInterface $language_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->entityTypeManager = $entity_type_manager;
  $this->languageManager = $language_manager;
}