You are here

public function EntitySharePathautoEnhancer::__construct in Entity Share 8.3

Same name and namespace in other branches
  1. 8.2 src/Plugin/jsonapi/FieldEnhancer/EntitySharePathautoEnhancer.php \Drupal\entity_share\Plugin\jsonapi\FieldEnhancer\EntitySharePathautoEnhancer::__construct()

File

src/Plugin/jsonapi/FieldEnhancer/EntitySharePathautoEnhancer.php, line 51

Class

EntitySharePathautoEnhancer
Prepare path value to be able to handle pathauto metadata.

Namespace

Drupal\entity_share\Plugin\jsonapi\FieldEnhancer

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition, KeyValueFactoryInterface $key_value) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->keyValue = $key_value;
}