function configuration_hash_image in Configuration Management 7
File
- includes/
configuration.image.inc, line 140
Code
function configuration_hash_image($identifier) {
// Export just the field we're tracking.
module_load_include('inc', 'configuration', 'configuration.export');
$data = image_configuration_export_options();
// Export the field we just saved and evaluate the export to hash
$code = image_configuration_export_render('configuration', array(
$identifier,
));
eval(array_pop($code));
return md5(serialize($styles[$identifier]));
}