You are here

function content_access_rules_condition_info in Content Access 6

Implementation of hook_condition_info().

File

./content_access.rules.inc, line 221
Rules specific functions that expose content_access' API.

Code

function content_access_rules_condition_info() {
  return array(
    'content_access_condition_check_permissions' => array(
      'label' => t('Check role based settings'),
      'arguments' => array(
        'node' => array(
          'type' => 'node',
          'label' => t('Content'),
        ),
      ),
      'help' => t('Evaluates to TRUE, if content access allows all selected operations for the given roles.'),
      'module' => 'Content access',
    ),
  );
}