You are here

function content_access_condition_info in Content Access 5

Implementation of hook_condition_info().

File

./content_access.workflow_ng.inc, line 93
Workflow-ng specific functions that expose content_access's API.

Code

function content_access_condition_info() {
  return array(
    'content_access_condition_check_permissions' => array(
      '#label' => t('Node permissions'),
      '#arguments' => array(
        'node' => array(
          '#entity' => 'node',
          '#label' => t('Content'),
        ),
      ),
      '#description' => t('Evaluates to TRUE, if content access allows all selected operations for the given roles.'),
      '#module' => 'Content access',
    ),
  );
}