public function ClientCdfLanguage::__construct in Acquia Content Hub 8.2
ClientManagerFactory constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The Entity Type Manager.
\Drupal\Core\Extension\ModuleHandler $moduleHandler: The module handler.
\Drupal\Core\Language\LanguageDefault $language_default: Default language.
File
- src/
EventSubscriber/ ClientCdf/ ClientCdfLanguage.php, line 48
Class
- ClientCdfLanguage
- Adds base url to all CDF documents.
Namespace
Drupal\acquia_contenthub\EventSubscriber\ClientCdfCode
public function __construct(EntityTypeManagerInterface $entityTypeManager, ModuleHandler $moduleHandler, LanguageDefault $language_default) {
$this->entityTypeManager = $entityTypeManager;
$this->moduleHandler = $moduleHandler;
$this->languageDefault = $language_default;
}