ConfigFactory::getEditable

public ConfigFactory::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. Overrides ConfigFactoryInterface::getEditable File core/lib/Drupal/Core/Config/ConfigFactory.php, line 81 Class ConfigFactory Defines the configur

ConfigFactory::getConfigCacheKeys

protected ConfigFactory::getConfigCacheKeys($name) Gets all the cache keys that match the provided config name. Parameters string $name: The name of the configuration object. Return value array An array of cache keys that match the provided config name. File core/lib/Drupal/Core/Config/ConfigFactory.php, line 308 Class ConfigFactory Defines the configuration object factory. Namespace Drupal\Core\Config Code protected function getConfigCacheKeys($name) { return array_filter(array_ke

ConfigFactory::getConfigCacheKey

protected ConfigFactory::getConfigCacheKey($name, $immutable) Gets the static cache key for a given config name. Parameters string $name: The name of the configuration object. bool $immutable: Whether or not the object is mutable. Return value string The cache key. File core/lib/Drupal/Core/Config/ConfigFactory.php, line 291 Class ConfigFactory Defines the configuration object factory. Namespace Drupal\Core\Config Code protected function getConfigCacheKey($name, $immutable) { $suff

ConfigFactory::getCacheKeys

public ConfigFactory::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. Overrides ConfigFactoryInterface::getCach

ConfigFactory::get

public ConfigFactory::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. Overrides ConfigFactoryInterface::get File core/lib/Drupal/Core/Config/ConfigFactory.php, line 88 Class ConfigFactory Defines the configuration object factory. Namespace Drupal\Core\Config Code public function get($name) { return $this->doGe

ConfigFactory::doLoadMultiple

protected ConfigFactory::doLoadMultiple(array $names, $immutable = TRUE) Returns a list of configuration objects for the given names. Parameters array $names: List of names of configuration objects. bool $immutable: (optional) Create an immutable configuration objects. Defaults to TRUE. Return value \Drupal\Core\Config\Config[]|\Drupal\Core\Config\ImmutableConfig[] List of successfully loaded configuration objects, keyed by name. File core/lib/Drupal/Core/Config/ConfigFactory.php, line 150

ConfigFactory::doGet

protected ConfigFactory::doGet($name, $immutable = TRUE) Returns a configuration object for a given name. Parameters string $name: The name of the configuration object to construct. bool $immutable: (optional) Create an immutable configuration object. Defaults to TRUE. Return value \Drupal\Core\Config\Config|\Drupal\Core\Config\ImmutableConfig A configuration object. File core/lib/Drupal/Core/Config/ConfigFactory.php, line 103 Class ConfigFactory Defines the configuration object factory.

ConfigFactory::createConfigObject

protected ConfigFactory::createConfigObject($name, $immutable) Creates a configuration object. Parameters string $name: Configuration object name. bool $immutable: Determines whether a mutable or immutable config object is returned. Return value \Drupal\Core\Config\Config|\Drupal\Core\Config\ImmutableConfig The configuration object. File core/lib/Drupal/Core/Config/ConfigFactory.php, line 392 Class ConfigFactory Defines the configuration object factory. Namespace Drupal\Core\Config C

ConfigFactory::clearStaticCache

public ConfigFactory::clearStaticCache() Clears the config factory static cache. Return value $this Overrides ConfigFactoryInterface::clearStaticCache File core/lib/Drupal/Core/Config/ConfigFactory.php, line 319 Class ConfigFactory Defines the configuration object factory. Namespace Drupal\Core\Config Code public function clearStaticCache() { $this->cache = array(); return $this; }

ConfigFactory::addOverride

public ConfigFactory::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). Overrides ConfigFactoryInterface::addOverride File core/lib/Drupal/Core/Config/ConfigFactory.php, line 377 Class ConfigFactory Defines the conf