function feeds_ui_admin_menu_map in Feeds 8.2
Same name and namespace in other branches
- 7.2 feeds_ui/feeds_ui.module \feeds_ui_admin_menu_map()
Implements hook_admin_menu_map().
File
- feeds_ui/
feeds_ui.module, line 107
Code
function feeds_ui_admin_menu_map() {
// Add awareness to the administration menu of the various importers so they
// are included in the dropdown menu.
if (!user_access('administer feeds')) {
return;
}
$map['admin/structure/feeds/%feeds_importer'] = array(
'parent' => 'admin/structure/feeds',
'arguments' => array(
array(
'%feeds_importer' => feeds_enabled_importers(),
),
),
);
return $map;
}