function _publishcontent_get_message in Publish Content 5
Same name and namespace in other branches
- 5.2 publishcontent.module \_publishcontent_get_message()
- 6 publishcontent.module \_publishcontent_get_message()
- 7 publishcontent.module \_publishcontent_get_message()
1 call to _publishcontent_get_message()
File
- ./
publishcontent.module, line 59 - Add button to publish or unpublish a node, with access control based on the node type
Code
function _publishcontent_get_message($nid, $title, $status) {
return t($status ? '"@title" [@nid] has been published' : '"@title" [@nid] has been unpublished', array(
'@title' => $title,
'@nid' => $nid,
));
}