You are here

function configuration_set_current_id in Configuration Management 6

Set the unique execution identifier for this configuration

Parameters

$id: The unique identifier for this execution run

Return value

The currently set identifier

2 calls to configuration_set_current_id()
configuration_execute in ./configuration.module
Execute a configuration diven a data object of actions. The supplied data should be a php array in the correct format.
configuration_get_current_id in ./configuration.module
Get the current configuration execution identifier

File

./configuration.module, line 1194
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_set_current_id($id = null) {
  static $current_id;
  if ($id) {
    $current_id = $id;
  }
  return $current_id;
}