You are here

function configuration_get_error in Configuration Management 6

Get any errors that have happened during configuration

Parameters

$type: The type of error being checked

Return value

The variable data stored for that particular error, if there is an error

4 calls to configuration_get_error()
configuration_process_action in ./configuration.module
Execute a single action
configuration_process_actions in ./configuration.module
Move through the actions list processing one per call
configuration_run_pass in ./configuration.module
Run through a pass of the configuration process
_configuration_execute_batch in ./configuration.module
Batch callback function for batch execution

File

./configuration.module, line 1249
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_get_error($type = null, &$vars = null) {
  $vars = configuration_set_error($type);

  // TODO Problem here
  if (isset($vars)) {
    return true;
  }
  else {
    return false;
  }
}