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