ConfigManagerInterface::findConfigEntityDependentsAsEntities

public ConfigManagerInterface::findConfigEntityDependentsAsEntities($type, array $names) Finds config entities that are dependent on extensions or entities. Parameters string $type: The type of dependency being checked. Either 'module', 'theme', 'config' or 'content'. array $names: The specific names to check. If $type equals 'module' or 'theme' then it should be a list of module names or theme names. In the case of 'config' or 'content' it should be a list of configuration dependency names. R

ConfigManagerInterface::findConfigEntityDependents

public ConfigManagerInterface::findConfigEntityDependents($type, array $names) Finds config entities that are dependent on extensions or entities. Parameters string $type: The type of dependency being checked. Either 'module', 'theme', 'config' or 'content'. array $names: The specific names to check. If $type equals 'module' or 'theme' then it should be a list of module names or theme names. In the case of 'config' or 'content' it should be a list of configuration dependency names. Return valu

ConfigManagerInterface::diff

public ConfigManagerInterface::diff(StorageInterface $source_storage, StorageInterface $target_storage, $source_name, $target_name = NULL, $collection = StorageInterface::DEFAULT_COLLECTION) Creates a Diff object using the config data from the two storages. @todo Make renderer injectable Parameters \Drupal\Core\Config\StorageInterface $source_storage: The storage to diff configuration from. \Drupal\Core\Config\StorageInterface $target_storage: The storage to diff configuration to. string $sour

ConfigManagerInterface::createSnapshot

public ConfigManagerInterface::createSnapshot(StorageInterface $source_storage, StorageInterface $snapshot_storage) Creates a configuration snapshot following a successful import. Parameters \Drupal\Core\Config\StorageInterface $source_storage: The storage to synchronize configuration from. \Drupal\Core\Config\StorageInterface $snapshot_storage: The storage to synchronize configuration to. File core/lib/Drupal/Core/Config/ConfigManagerInterface.php, line 81 Class ConfigManagerInterface Pr

ConfigManagerInterface

Provides an interface for configuration manager. Hierarchy interface \Drupal\Core\Config\ConfigManagerInterface File core/lib/Drupal/Core/Config/ConfigManagerInterface.php, line 8 Namespace Drupal\Core\Config Members Name Modifiers Type Description ConfigManagerInterface::createSnapshot public function Creates a configuration snapshot following a successful import. ConfigManagerInterface::diff public function Creates a Diff object using the config data from the t

ConfigManager::__construct

public ConfigManager::__construct(EntityManagerInterface $entity_manager, ConfigFactoryInterface $config_factory, TypedConfigManagerInterface $typed_config_manager, TranslationInterface $string_translation, StorageInterface $active_storage, EventDispatcherInterface $event_dispatcher) Creates ConfigManager objects. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory. \Dru

ConfigManager::uninstall

public ConfigManager::uninstall($type, $name) Uninstalls the configuration of a given extension. Parameters string $type: The extension type; e.g., 'module' or 'theme'. string $name: The name of the module or theme to install configuration for. Overrides ConfigManagerInterface::uninstall File core/lib/Drupal/Core/Config/ConfigManager.php, line 193 Class ConfigManager The ConfigManager provides helper functions for the configuration system. Namespace Drupal\Core\Config Code public func

ConfigManager::loadConfigEntityByName

public ConfigManager::loadConfigEntityByName($name) Loads a configuration entity using the configuration name. Parameters string $name: The configuration object name. Return value \Drupal\Core\Entity\EntityInterface|null The configuration entity or NULL if it does not exist. Overrides ConfigManagerInterface::loadConfigEntityByName File core/lib/Drupal/Core/Config/ConfigManager.php, line 109 Class ConfigManager The ConfigManager provides helper functions for the configuration system. Na

ConfigManager::getEntityTypeIdByName

public ConfigManager::getEntityTypeIdByName($name) Returns the entity type of a configuration object. Parameters string $name: The configuration object name. Return value string|null Either the entity type name, or NULL if none match. Overrides ConfigManagerInterface::getEntityTypeIdByName File core/lib/Drupal/Core/Config/ConfigManager.php, line 99 Class ConfigManager The ConfigManager provides helper functions for the configuration system. Namespace Drupal\Core\Config Code public fu

ConfigManager::getEntityManager

public ConfigManager::getEntityManager() Gets the entity manager. Return value \Drupal\Core\Entity\EntityManagerInterface The entity manager. Overrides ConfigManagerInterface::getEntityManager File core/lib/Drupal/Core/Config/ConfigManager.php, line 122 Class ConfigManager The ConfigManager provides helper functions for the configuration system. Namespace Drupal\Core\Config Code public function getEntityManager() { return $this->entityManager; }