function menu_links_features_identifier in Features 6
Same name and namespace in other branches
- 7.2 includes/features.menu.inc \menu_links_features_identifier()
- 7 includes/features.menu.inc \menu_links_features_identifier()
Callback for generating the menu link exportable identifier.
1 call to menu_links_features_identifier()
- menu_links_features_rebuild_ordered in includes/
features.menu.inc - Generate a depth tree of all menu links.
1 string reference to 'menu_links_features_identifier'
- menu_links_features_export in includes/
features.menu.inc - Implementation of hook_features_export().
File
- includes/
features.menu.inc, line 197
Code
function menu_links_features_identifier($link) {
return isset($link['menu_name'], $link['link_path']) ? "{$link['menu_name']}:{$link['link_path']}" : FALSE;
}