flag.actions.inc in Flag 5
Same filename and directory in other branches
Hooks for flag actions.
File
includes/flag.actions.incView 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
Name | Description |
---|---|
flag_hook_info | Implementation of hook_hook_info(). |