function ctools_node_comment_ctools_access_check

Checks for access.

1 string reference to 'ctools_node_comment_ctools_access_check'
node_comment.inc in plugins/access/node_comment.inc
Plugin to provide access control based upon node comment status.

File

plugins/access/node_comment.inc, line 23

Code

function ctools_node_comment_ctools_access_check($conf, $context) {
    return !empty($context->data) && $context->data->comment == 2;
}