function revisioning_set_status_message in Revisioning 7
Same name and namespace in other branches
- 8 revisioning.module \revisioning_set_status_message()
Output a status message, provided teh user has the required permission.
Parameters
string $message: The status message to be displayed.
9 calls to revisioning_set_status_message()
- revisioning_delete_archived_action in ./
revisioning_triggers_actions.inc - As declared in revisioning_action_info().
- revisioning_delete_archived_confirm_submit in ./
revisioning.pages.inc - Submission handler for the delete_archived_confirm form.
- revisioning_node_insert in ./
revisioning.module - Implements hook_node_insert().
- revisioning_node_presave in ./
revisioning.module - Implements hook_node_presave().
- revisioning_publish_confirm_submit in ./
revisioning.pages.inc - Submission handler for the publish_confirm form.
File
- ./
revisioning.module, line 496 - Allows content to be updated and reviewed before submitting it for publication, while the current live revision remains unchanged and publicly visible until the changes have been reviewed and found fit for publication by a moderator.
Code
function revisioning_set_status_message($message) {
if (user_access('view revision status messages')) {
drupal_set_message(filter_xss($message), 'status');
}
}