function ConfigManager::__construct
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Config/ConfigManager.php \Drupal\Core\Config\ConfigManager::__construct()
- 10 core/lib/Drupal/Core/Config/ConfigManager.php \Drupal\Core\Config\ConfigManager::__construct()
- 9 core/lib/Drupal/Core/Config/ConfigManager.php \Drupal\Core\Config\ConfigManager::__construct()
- 8.9.x core/lib/Drupal/Core/Config/ConfigManager.php \Drupal\Core\Config\ConfigManager::__construct()
Creates ConfigManager objects.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The configuration factory.
\Drupal\Core\Config\TypedConfigManagerInterface $typedConfigManager: The typed config manager.
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation service.
\Drupal\Core\Config\StorageInterface $activeStorage: The active configuration storage.
\Symfony\Contracts\EventDispatcher\EventDispatcherInterface $eventDispatcher: The event dispatcher.
\Drupal\Core\Entity\EntityRepositoryInterface $entityRepository: The entity repository.
\Drupal\Core\Extension\ExtensionPathResolver $extensionPathResolver: The extension path resolver.
File
-
core/
lib/ Drupal/ Core/ Config/ ConfigManager.php, line 58
Class
- ConfigManager
- The ConfigManager provides helper functions for the configuration system.
Namespace
Drupal\Core\ConfigCode
public function __construct(protected EntityTypeManagerInterface $entityTypeManager, protected ConfigFactoryInterface $configFactory, protected TypedConfigManagerInterface $typedConfigManager, TranslationInterface $string_translation, protected StorageInterface $activeStorage, protected EventDispatcherInterface $eventDispatcher, protected EntityRepositoryInterface $entityRepository, protected ExtensionPathResolver $extensionPathResolver) {
$this->stringTranslation = $string_translation;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.