You are here

function menu_links_features_identifier in Features 7

Same name and namespace in other branches
  1. 6 includes/features.menu.inc \menu_links_features_identifier()
  2. 7.2 includes/features.menu.inc \menu_links_features_identifier()

Callback for generating the menu link exportable identifier.

2 calls to menu_links_features_identifier()
menu_links_features_export_options in includes/features.menu.inc
Implements hook_features_export_options().
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
Implements hook_features_export().

File

includes/features.menu.inc, line 155

Code

function menu_links_features_identifier($link) {
  return isset($link['menu_name'], $link['link_path']) ? "{$link['menu_name']}:{$link['link_path']}" : FALSE;
}