function termstatus_unpublish_action in Taxonomy Term Status 7
Action callback: unpublish a term.
File
- ./
termstatus.module, line 282 - Hook implementations and API for the taxonomy term status module.
Code
function termstatus_unpublish_action($term, $context = array()) {
$term->status = 0;
watchdog('action', 'Set taxonomy term %title to unpublished.', array(
'%title' => $term->name,
));
}