From 44c2bfdcd1ec8e309ad05c2d681d5d3755adecea Mon Sep 17 00:00:00 2001
From: Angie Byron <webchick@24967.no-reply.drupal.org>
Date: Fri, 8 Oct 2010 05:07:53 +0000
Subject: [PATCH] #898040 by jhodgdon: Replace @name with @defgroup in PHPDoc.

---
 includes/bootstrap.inc       | 10 ----------
 includes/common.inc          |  2 +-
 includes/menu.inc            | 10 +++++-----
 includes/pager.inc           |  2 +-
 includes/theme.inc           |  2 +-
 modules/filter/filter.module |  2 +-
 6 files changed, 9 insertions(+), 19 deletions(-)

diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index b4c550b3eb4b..247c90efd019 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -230,12 +230,6 @@
  */
 define('REQUEST_TIME', $_SERVER['REQUEST_TIME']);
 
-/**
- * @name Title text filtering flags
- * @{
- * Flags for use in drupal_set_title().
- */
-
 /**
  * Flag for drupal_set_title(); text is not sanitized, so run check_plain().
  */
@@ -246,10 +240,6 @@
  */
 define('PASS_THROUGH', -1);
 
-/**
- * @} End of "Title text filtering flags".
- */
-
 /**
  * Signals that the registry lookup cache should be reset.
  */
diff --git a/includes/common.inc b/includes/common.inc
index 1123b1c9aed2..3c6d284239b4 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -378,7 +378,7 @@ function drupal_get_feeds($delimiter = "\n") {
 }
 
 /**
- * @name HTTP handling
+ * @defgroup http_handling HTTP handling
  * @{
  * Functions to properly handle HTTP responses.
  */
diff --git a/includes/menu.inc b/includes/menu.inc
index 1029e1400c79..e040fc9d96d4 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -72,7 +72,7 @@
  */
 
 /**
- * @name Menu flags
+ * @defgroup menu_flags Menu flags
  * @{
  * Flags for use in the "type" attribute of menu items.
  */
@@ -122,7 +122,7 @@
  */
 
 /**
- * @name Menu item types
+ * @defgroup menu_item_types Menu item types
  * @{
  * Menu item definitions provide one of these constants, which are shortcuts for
  * combinations of the above flags.
@@ -185,7 +185,7 @@
  */
 
 /**
- * @name Menu context types
+ * @defgroup menu_context_types Menu context types
  * @{
  * Flags for use in the "context" attribute of menu router items.
  */
@@ -213,7 +213,7 @@
  */
 
 /**
- * @name Menu status codes
+ * @defgroup menu_status_codes Menu status codes
  * @{
  * Status codes for menu callbacks.
  */
@@ -248,7 +248,7 @@
  */
 
 /**
- * @Name Menu tree parameters
+ * @defgroup menu_tree_parameters Menu tree parameters
  * @{
  * Menu tree
  */
diff --git a/includes/pager.inc b/includes/pager.inc
index 49c758ab16d6..0e417f656eee 100644
--- a/includes/pager.inc
+++ b/includes/pager.inc
@@ -429,7 +429,7 @@ function theme_pager($variables) {
 
 
 /**
- * @name Pager pieces
+ * @defgroup pagerpieces Pager pieces
  * @{
  * Use these pieces to construct your own custom pagers in your theme. Note that
  * you should NOT modify this file to customize your pager.
diff --git a/includes/theme.inc b/includes/theme.inc
index e042d5d2a64a..4bf80d8559a0 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -10,7 +10,7 @@
  */
 
 /**
- * @name Content markers
+ * @defgroup content_flags Content markers
  * @{
  * Markers used by theme_mark() and node_mark() to designate content.
  * @see theme_mark(), node_mark()
diff --git a/modules/filter/filter.module b/modules/filter/filter.module
index aaba2b11fbf9..9fe39a55f486 100644
--- a/modules/filter/filter.module
+++ b/modules/filter/filter.module
@@ -1102,7 +1102,7 @@ function theme_filter_guidelines($variables) {
 }
 
 /**
- * @name Standard filters
+ * @defgroup standard_filters Standard filters
  * @{
  * Filters implemented by the filter.module.
  */
-- 
GitLab