ConfigFactoryInterface::reset

public ConfigFactoryInterface::reset($name = NULL) Resets and re-initializes configuration objects. Internal use only. Parameters string|null $name: (optional) The name of the configuration object to reset. If omitted, all configuration objects are reset. Return value $this File core/lib/Drupal/Core/Config/ConfigFactoryInterface.php, line 62 Class ConfigFactoryInterface Defines the interface for a configuration object factory. Namespace Drupal\Core\Config Code public function reset($

ConfigFactoryInterface::rename

public ConfigFactoryInterface::rename($old_name, $new_name) Renames a configuration object using the storage. Parameters string $old_name: The old name of the configuration object. string $new_name: The new name of the configuration object. Return value $this File core/lib/Drupal/Core/Config/ConfigFactoryInterface.php, line 74 Class ConfigFactoryInterface Defines the interface for a configuration object factory. Namespace Drupal\Core\Config Code public function rename($old_name, $new

ConfigFactoryInterface::loadMultiple

public ConfigFactoryInterface::loadMultiple(array $names) Returns a list of configuration objects for the given names. This will pre-load all requested configuration objects does not create new configuration objects. This method always return immutable objects. ConfigFactoryInterface::getEditable() should be used to retrieve mutable configuration objects, one by one. Parameters array $names: List of names of configuration objects. Return value \Drupal\Core\Config\ImmutableConfig[] List of suc

ConfigFactoryInterface::listAll

public ConfigFactoryInterface::listAll($prefix = '') Gets configuration object names starting with a given prefix. Parameters string $prefix: (optional) The prefix to search for. If omitted, all configuration object names that exist are returned. Return value array An array containing matching configuration object names. See also \Drupal\Core\Config\StorageInterface::listAll() File core/lib/Drupal/Core/Config/ConfigFactoryInterface.php, line 109 Class ConfigFactoryInterface Defines the

ConfigFactoryInterface::getEditable

public ConfigFactoryInterface::getEditable($name) Returns an mutable configuration object for a given name. Should not be used for config that will have runtime effects. Therefore it is always loaded override free. Parameters string $name: The name of the configuration object to construct. Return value \Drupal\Core\Config\Config A configuration object. File core/lib/Drupal/Core/Config/ConfigFactoryInterface.php, line 35 Class ConfigFactoryInterface Defines the interface for a configurati

ConfigFactoryInterface::getCacheKeys

public ConfigFactoryInterface::getCacheKeys() The cache keys associated with the state of the config factory. All state information that can influence the result of a get() should be included. Typically, this includes a key for each override added via addOverride(). This allows external code to maintain caches of configuration data in addition to or instead of caches maintained by the factory. Return value array An array of strings, used to generate a cache ID. File core/lib/Drupal/Core/Config

ConfigFactoryInterface::get

public ConfigFactoryInterface::get($name) Returns an immutable configuration object for a given name. Parameters string $name: The name of the configuration object to construct. Return value \Drupal\Core\Config\ImmutableConfig A configuration object. File core/lib/Drupal/Core/Config/ConfigFactoryInterface.php, line 21 Class ConfigFactoryInterface Defines the interface for a configuration object factory. Namespace Drupal\Core\Config Code public function get($name);

ConfigFactoryInterface::clearStaticCache

public ConfigFactoryInterface::clearStaticCache() Clears the config factory static cache. Return value $this File core/lib/Drupal/Core/Config/ConfigFactoryInterface.php, line 95 Class ConfigFactoryInterface Defines the interface for a configuration object factory. Namespace Drupal\Core\Config Code public function clearStaticCache();

ConfigFactoryInterface::addOverride

public ConfigFactoryInterface::addOverride(ConfigFactoryOverrideInterface $config_factory_override) Adds config factory override services. Parameters \Drupal\Core\Config\ConfigFactoryOverrideInterface $config_factory_override: The config factory override service to add. It is added at the end of the priority list (lower priority relative to existing ones). File core/lib/Drupal/Core/Config/ConfigFactoryInterface.php, line 118 Class ConfigFactoryInterface Defines the interface for a configu

ConfigFactoryInterface

Defines the interface for a configuration object factory. Hierarchy interface \Drupal\Core\Config\ConfigFactoryInterface Related topics Configuration API Information about the Configuration API. File core/lib/Drupal/Core/Config/ConfigFactoryInterface.php, line 10 Namespace Drupal\Core\Config Members Name Modifiers Type Description ConfigFactoryInterface::addOverride public function Adds config factory override services. ConfigFactoryInterface::clearStaticCache publ