Commit e9c91cb8 authored by Dave Reid's avatar Dave Reid

#907690 by Dave Reid: Removed MENU_CALLBACK from menu items that should be visible in breadcrumbs.

parent 6f467ae4
...@@ -154,7 +154,6 @@ function xmlsitemap_menu() { ...@@ -154,7 +154,6 @@ function xmlsitemap_menu() {
'page callback' => 'drupal_get_form', 'page callback' => 'drupal_get_form',
'page arguments' => array('xmlsitemap_sitemap_edit_form', 5), 'page arguments' => array('xmlsitemap_sitemap_edit_form', 5),
'access arguments' => array('administer xmlsitemap'), 'access arguments' => array('administer xmlsitemap'),
'type' => MENU_CALLBACK,
'file' => 'xmlsitemap.admin.inc', 'file' => 'xmlsitemap.admin.inc',
'modal' => TRUE, 'modal' => TRUE,
); );
...@@ -162,7 +161,6 @@ function xmlsitemap_menu() { ...@@ -162,7 +161,6 @@ function xmlsitemap_menu() {
'page callback' => 'drupal_get_form', 'page callback' => 'drupal_get_form',
'page arguments' => array('xmlsitemap_sitemap_delete_form', 5), 'page arguments' => array('xmlsitemap_sitemap_delete_form', 5),
'access arguments' => array('administer xmlsitemap'), 'access arguments' => array('administer xmlsitemap'),
'type' => MENU_CALLBACK,
'file' => 'xmlsitemap.admin.inc', 'file' => 'xmlsitemap.admin.inc',
'modal' => TRUE, 'modal' => TRUE,
); );
...@@ -319,8 +317,10 @@ function xmlsitemap_var($name, $default = NULL) { ...@@ -319,8 +317,10 @@ function xmlsitemap_var($name, $default = NULL) {
} }
/** /**
* @defgroup xmlsitemap_sitemap_api XML sitemap API for sitemaps. * @defgroup xmlsitemap_api XML sitemap API.
* @{ * @{
* This is the XML sitemap API to be used by modules wishing to work with
* XML sitemap and/or link data.
*/ */
/** /**
...@@ -512,15 +512,6 @@ function xmlsitemap_sitemap_uri(stdClass $sitemap) { ...@@ -512,15 +512,6 @@ function xmlsitemap_sitemap_uri(stdClass $sitemap) {
return $uri; return $uri;
} }
/**
* @} End of "defgroup xmlsitemap_sitemap_api"
*/
/**
* @defgroup xmlsitemap_link_api XML sitemap API for sitemap links.
* @{
*/
/** /**
* Load a specific sitemap link from the database. * Load a specific sitemap link from the database.
* *
...@@ -770,7 +761,7 @@ function _xmlsitemap_check_changed_link(array $link, $original_link = NULL, $fla ...@@ -770,7 +761,7 @@ function _xmlsitemap_check_changed_link(array $link, $original_link = NULL, $fla
} }
/** /**
* @} End of "defgroup xmlsitemap_link_api" * @} End of "defgroup xmlsitemap_api"
*/ */
function xmlsitemap_get_directory(stdClass $sitemap = NULL) { function xmlsitemap_get_directory(stdClass $sitemap = NULL) {
......
...@@ -26,7 +26,6 @@ function xmlsitemap_custom_menu() { ...@@ -26,7 +26,6 @@ function xmlsitemap_custom_menu() {
'page callback' => 'drupal_get_form', 'page callback' => 'drupal_get_form',
'page arguments' => array('xmlsitemap_custom_edit_link_form', 6), 'page arguments' => array('xmlsitemap_custom_edit_link_form', 6),
'access arguments' => array('administer xmlsitemap'), 'access arguments' => array('administer xmlsitemap'),
'type' => MENU_CALLBACK,
'file' => 'xmlsitemap_custom.admin.inc', 'file' => 'xmlsitemap_custom.admin.inc',
'modal' => TRUE, 'modal' => TRUE,
); );
...@@ -35,7 +34,6 @@ function xmlsitemap_custom_menu() { ...@@ -35,7 +34,6 @@ function xmlsitemap_custom_menu() {
'page callback' => 'drupal_get_form', 'page callback' => 'drupal_get_form',
'page arguments' => array('xmlsitemap_custom_delete_link_form', 6), 'page arguments' => array('xmlsitemap_custom_delete_link_form', 6),
'access arguments' => array('administer xmlsitemap'), 'access arguments' => array('administer xmlsitemap'),
'type' => MENU_CALLBACK,
'file' => 'xmlsitemap_custom.admin.inc', 'file' => 'xmlsitemap_custom.admin.inc',
'modal' => TRUE, 'modal' => TRUE,
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment