function menu_configuration_export in Configuration Management 7
Implements hook_configuration_export(). DEPRECATED: This implementation simply migrates deprecated `menu` items to the `menu_links` type.
File
- includes/
configuration.menu.inc, line 35
Code
function menu_configuration_export($data, &$export, $module_name = '') {
$pipe = array();
foreach ($data as $path) {
$pipe['menu_links'][] = "configuration:{$path}";
}
return $pipe;
}