You are here

function configuration_set_signature in Configuration Management 7

Set the signature of a module/component pair in the codecache.

2 calls to configuration_set_signature()
configuration_get_component_states in ./configuration.export.inc
Retrieve an array of configuration/components and their current states.
_configuration_restore in ./configuration.module
Restore the specified modules to the default state.

File

./configuration.export.inc, line 452

Code

function configuration_set_signature($module, $component, $signature = NULL) {
  $var_codecache = variable_get('configuration_codecache', array());
  $signature = isset($signature) ? $signature : configuration_get_signature('default', $module, $component, TRUE);
  $var_codecache[$module][$component] = $signature;
  variable_set('configuration_codecache', $var_codecache);
}