function anonymous_publishing_cl_node_validate in Anonymous Publishing 7
Implements hook_node_validate().
The validate function will handle the honeyfield.
File
- modules/
cl/ anonymous_publishing_cl.module, line 755
Code
function anonymous_publishing_cl_node_validate($node) {
$nodep = 'object' == gettype($node);
$isrelevantp = _anonymous_publishing_cl_relevantp($node, $nodep);
if ($isrelevantp) {
_anonymous_publishing_cl_content_validate($node);
}
}