ConfigFactory::loadOverrides
protected function ConfigFactory::loadOverrides
protected ConfigFactory::loadOverrides(array $names)
Get arbitrary overrides for the named configuration objects from modules.
Parameters
array $names: The names of the configuration objects to get overrides for.
Return value
array An array of overrides keyed by the configuration object name.
File
- core/lib/Drupal/Core/Config/ConfigFactory.php, line 204
Class
- ConfigFactory
- Defines the configuration object factory.
Namespace
Drupal\Core\ConfigCode
protected function loadOverrides(array $names) { $overrides = array(); foreach ($this->configFactoryOverrides as $override) { // Existing overrides take precedence since these will have been added // by events with a higher priority. $overrides = NestedArray::mergeDeepArray(array($override->loadOverrides($names), $overrides), TRUE); } return $overrides; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!ConfigFactory.php/function/ConfigFactory::loadOverrides/8.1.x