You are here

public function AliasLinkEnhancer::__construct in Gatsby Live Preview & Incremental Builds 8

Same name and namespace in other branches
  1. 2.0.x modules/gatsby_extras/src/Plugin/jsonapi/FieldEnhancer/AliasLinkEnhancer.php \Drupal\gatsby_extras\Plugin\jsonapi\FieldEnhancer\AliasLinkEnhancer::__construct()

File

modules/gatsby_extras/src/Plugin/jsonapi/FieldEnhancer/AliasLinkEnhancer.php, line 32

Class

AliasLinkEnhancer
Use UUID for internal link field value.

Namespace

Drupal\gatsby_extras\Plugin\jsonapi\FieldEnhancer

Code

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