function configuration_hash_taxonomy in Configuration Management 7
File
- includes/
configuration.taxonomy.inc, line 136
Code
function configuration_hash_taxonomy($identifier) {
// Export just the field we're tracking.
module_load_include('inc', 'configuration', 'configuration.export');
$data = taxonomy_configuration_export_options();
// Export the field we just saved and evaluate the export to hash
$code = taxonomy_configuration_export_render('configuration', array(
$identifier,
));
eval('$vocab = ' . substr(array_pop($code), 8));
return md5(serialize($vocab[$identifier]));
}