You are here

public function ConfigEntityHandler::__construct in Acquia Content Hub 8.2

ConfigEntityHandler constructor.

Parameters

\Drupal\depcalc\DependencyCalculator $calculator: The dependency calculator.

\Drupal\acquia_contenthub\Client\ClientFactory $factory: The client factory.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

File

src/EventSubscriber/Cdf/ConfigEntityHandler.php, line 58

Class

ConfigEntityHandler
The Configuration entity CDF creator.

Namespace

Drupal\acquia_contenthub\EventSubscriber\Cdf

Code

public function __construct(DependencyCalculator $calculator, ClientFactory $factory, LanguageManagerInterface $language_manager) {
  $this->calculator = $calculator;
  $this->clientFactory = $factory;
  $this->languageManager = $language_manager;
}