Actions in Drupal 6
Same name and namespace in other branches
- 7 includes/actions.inc \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".
File
- includes/
actions.inc, line 8 - This is the actions engine for executing stored actions.
Functions
Name | Location | Description |
---|---|---|
comment_publish_action |
modules/ |
Action to publish a comment. |
comment_unpublish_action |
modules/ |
Action to unpublish a comment. |
comment_unpublish_by_keyword_action |
modules/ |
Action to unpublish a comment if it contains a certain string. |