function xmlsitemap_menu_variables in XML sitemap 6.2
Same name and namespace in other branches
- 7.2 xmlsitemap_menu/xmlsitemap_menu.module \xmlsitemap_menu_variables()
Internal default variables for template_var().
File
- xmlsitemap_menu/
xmlsitemap_menu.module, line 223
Code
function xmlsitemap_menu_variables() {
$defaults = array();
$menus = array_keys(menu_get_menus());
foreach ($menus as $menu) {
$defaults['xmlsitemap_settings_menu_' . $menu] = array(
'status' => XMLSITEMAP_STATUS_DEFAULT,
'priority' => XMLSITEMAP_PRIORITY_DEFAULT,
);
}
return $defaults;
}