You are here

function content_access_action_info in Content Access 5

Implementation of hook_action_info().

File

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

Code

function content_access_action_info() {
  return array(
    'content_access_action_set_node_permissions' => array(
      '#label' => t('Set content permissions'),
      '#arguments' => array(
        'node' => array(
          '#entity' => 'node',
          '#label' => t('Content'),
        ),
      ),
      '#module' => 'Content access',
    ),
    'content_access_action_reset_node_permissions' => array(
      '#label' => t('Reset content permissions'),
      '#arguments' => array(
        'node' => array(
          '#entity' => 'node',
          '#label' => t('Content'),
        ),
      ),
      '#module' => 'Content access',
    ),
  );
}