You are here

function configuration_apply_maps in Configuration Management 6

Apply all module configuration maps to the data while building the action queue at the same time

Parameters

$context: The context array needing the config maps applied to

Return value

An array of actions referencing points in the $context object for later use in action execution

1 call to configuration_apply_maps()
configuration_run_pass in ./configuration.module
Run through a pass of the configuration process

File

./configuration.module, line 498
Provide a unified method for defining site configurations abstracted from their data format. Various data formats should be supported via a plugin architecture such as XML, YAML, JSON, PHP

Code

function configuration_apply_maps(&$context) {

  // Get all the module maps and apply each one to the context object
  foreach (module_implements('configuration_maps') as $module) {
    $map = module_invoke($module, 'configuration_maps');
    configuration_apply_map($context, $map);
  }
}