You are here

function configuration_replace_tokens in Configuration Management 6

Find and replace identifier and token keys and values

1 call to configuration_replace_tokens()
configuration_process_action in ./configuration.module
Execute a single action

File

./configuration.module, line 1906
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_replace_tokens(&$context) {

  // TODO Is this bad for performance? Should it be done manually?
  $matches = configuration_fetch('//*', $context);
  for ($i = 0; isset($matches[$i]); $i++) {
    _configuration_replace_tokens($matches[$i]);
  }
}