summaryrefslogtreecommitdiff
path: root/includes/actions.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-10 17:29:17 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-10 17:29:17 +0000
commit970b096f42cf92efee84989086a2e5d215a1ffe0 (patch)
tree53c2520c68689cdcff11f4042f426244d6c6e6d8 /includes/actions.inc
parentd16bead147fc01f96c8a375984c197aee4baec07 (diff)
downloadbrdo-970b096f42cf92efee84989086a2e5d215a1ffe0.tar.gz
brdo-970b096f42cf92efee84989086a2e5d215a1ffe0.tar.bz2
#360023 by stella, sun, greggles: Added 'Publish comment' action + doxygen fixes.
Diffstat (limited to 'includes/actions.inc')
-rw-r--r--includes/actions.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/includes/actions.inc b/includes/actions.inc
index 3ef5b848a..ce196cfe5 100644
--- a/includes/actions.inc
+++ b/includes/actions.inc
@@ -7,6 +7,25 @@
*/
/**
+ * @defgroup actions Actions
+ * @{
+ * Functions that perform an action on a certain system object.
+ *
+ * All modules should declare their action functions to be in this group and
+ * each action function should reference its configuration form, validate, and
+ * submit functions using \@see. Conversely, form, validate, and submit
+ * functions should reference the action function using \@see. For examples of
+ * this see comment_unpublish_by_keyword_action(), which has the following in
+ * its doxygen documentation:
+ *
+ * \@ingroup actions
+ * \@see comment_unpublish_by_keyword_action_form().
+ * \@see comment_unpublish_by_keyword_action_submit().
+ *
+ * @} End of "defgroup actions".
+ */
+
+/**
* Performs a given list of actions by executing their callback functions.
*
* Given the IDs of actions to perform, this function finds out what the