function fb_feed_action_info in Drupal for Facebook 5.2
File
- ./
fb_feed.module, line 642 - Helpers for Facebook feeds (http://wiki.developers.facebook.com/index.php/New_Design_Feed_Wall)
Code
function fb_feed_action_info() {
$items = array();
$items['fb_feed_action_publish'] = array(
'type' => 'fb_feed_action',
'description' => t('Facebook Feed: publishUserAction'),
'configurable' => TRUE,
// Include 'custom' so third-party modules can define their own triggers.
'hooks' => array(
'nodeapi' => array(
'delete',
'insert',
'update',
'view',
'custom',
),
'comment' => array(
'delete',
'insert',
'update',
'view',
'custom',
),
'user' => array(
'insert',
'update',
'delete',
'login',
'logout',
'custom',
),
),
);
$items['fb_feed_action_show_dialog'] = array(
'type' => 'fb_feed_action_show_dialog',
'description' => t('Facebook Feed: show dialog'),
'configurable' => TRUE,
// Include 'custom' so third-party modules can define their own triggers.
'hooks' => array(
'nodeapi' => array(
'delete',
'insert',
'update',
'view',
'custom',
),
'comment' => array(
'delete',
'insert',
'update',
'view',
'custom',
),
'user' => array(
'insert',
'update',
'delete',
'login',
'logout',
'custom',
),
),
);
return $items;
}