You are here

function node_accessibility_action_info in Node Accessibility 7

Implements hook_action_info().

File

./node_accessibility.module, line 41
Module file for the node accessibility project.

Code

function node_accessibility_action_info() {
  return array(
    'node_accessibility_validate_action' => array(
      'type' => 'node',
      'label' => t("Accessibility validate content"),
      'configurable' => FALSE,
      'triggers' => array(
        'node_presave',
        'node_insert',
        'node_update',
      ),
    ),
    'node_accessibility_delete_action' => array(
      'type' => 'node',
      'label' => t("Delete accessibility statistics for content"),
      'configurable' => FALSE,
      'triggers' => array(
        'node_presave',
        'node_insert',
        'node_update',
      ),
    ),
  );
}