function ctools_node_status_ctools_access_check

Check for access.

1 string reference to 'ctools_node_status_ctools_access_check'
node_status.inc in plugins/access/node_status.inc
Plugin to provide access control based upon node (un)published status.

File

plugins/access/node_status.inc, line 23

Code

function ctools_node_status_ctools_access_check($conf, $context) {
    return !empty($context->data->status) && $context->data->status;
}