function drupagram_actions_action_info in Drupagram 7
Implements hook_action_info().
File
- drupagram_actions/
drupagram_actions.module, line 10 - Exposes Drupal actions for sending Instagram messages.
Code
function drupagram_actions_action_info() {
return array(
'drupagram_actions_set_status_action' => array(
'type' => 'system',
'label' => t('Post a message to Instagram'),
'configurable' => TRUE,
'triggers' => array(
'node_view',
'node_insert',
'node_update',
'node_delete',
'comment_view',
'comment_insert',
'comment_update',
'comment_delete',
'user_view',
'user_insert',
'user_update',
'user_delete',
'user_login',
'cron',
),
),
);
}