You are here

function configuration_get_data in Configuration Management 6

Get data from the static data store

Parameters

$type: The type of data needing retrieval

Return value

The desired data

9 calls to configuration_get_data()
configuration_context_process_property in ./configuration.module
Process a single mapping config property. Various properties will mark static data that will be processed later on in the configuration phases.
configuration_execute_batch in ./configuration.module
The "batch" method of executing a configuration
configuration_initiate in ./configuration.module
Initialize whats needed to execute a configuration.
configuration_load_includes in ./configuration.module
Load all include files including the module configuration component files supplied by the configuration framework
configuration_process_action in ./configuration.module
Execute a single action

... See full list

File

./configuration.module, line 1312
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_data($type, $cache = false) {
  if ($type) {
    return configuration_set_data($type);
  }
  else {
    if ($cache) {
      return configuration_set_data();
    }
  }
}