You are here

flag.actions.inc in Flag 5

Hooks for flag actions.

File

includes/flag.actions.inc
View source
<?php

/**
 * @file
 * Hooks for flag actions.
 */

/**
 * Implementation of hook_hook_info().
 */
function flag_hook_info() {
  return array(
    'flag' => array(
      'flag' => array(
        'flag' => array(
          'runs when' => t('Content has been flagged'),
        ),
        'unflag' => array(
          'runs when' => t('Content has been unflagged'),
        ),
      ),
    ),
  );
}

Functions

Namesort descending Description
flag_hook_info Implementation of hook_hook_info().