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".

Functions

NameLocationDescription
comment_action_infomodules/comment/comment.moduleImplements hook_action_info().
comment_publish_actionmodules/comment/comment.moduleAction to publish a comment.
comment_unpublish_actionmodules/comment/comment.moduleAction to unpublish a comment.
comment_unpublish_by_keyword_actionmodules/comment/comment.moduleAction to unpublish a comment if it contains a certain string.
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.