You are here

function fb_actions_action_info in Drupal for Facebook 6.2

Same name and namespace in other branches
  1. 5.2 fb_actions.module \fb_actions_action_info()
  2. 5 fb_actions.module \fb_actions_action_info()

Implemntation of hook_action_info()

File

contrib/fb_actions.module, line 17
Actions defined here interact with Facebook's API. This makes it possible to notify facebook of various activities as they happen.

Code

function fb_actions_action_info() {
  return array(
    'fb_actions_cron_per_user' => array(
      'type' => 'fb_app',
      'description' => t('Perform an Action once for each user of a Facebook App'),
      'configurable' => TRUE,
      'hooks' => array(
        'cron' => array(
          'run',
        ),
      ),
    ),
  );
}