You are here

public function LinkedFieldManager::__construct in Linked Field 8

File

src/LinkedFieldManager.php, line 60

Class

LinkedFieldManager
Provides helper methods for client related functionalities.

Namespace

Drupal\linked_field

Code

public function __construct(ConfigFactoryInterface $config_factory, PathValidatorInterface $path_validator, Token $token, EntityFieldManagerInterface $entityFieldManager, EntityTypeManagerInterface $entityTypeManager) {
  $this->config = $config_factory
    ->get('linked_field.config');
  $this->pathValidator = $path_validator;
  $this->token = $token;
  $this->entityFieldManager = $entityFieldManager;
  $this->entityTypeManager = $entityTypeManager;
}