You are here

function nodejs_actions_get_triggers in Node.js integration 7

Returns a list of triggers that we supply an action for.

Return value

array

1 call to nodejs_actions_get_triggers()
nodejs_actions_get_action in nodejs_actions/nodejs_actions.module
Try to get the action for the given trigger context.

File

nodejs_actions/nodejs_actions.module, line 42

Code

function nodejs_actions_get_triggers() {
  return array(
    'comment_insert' => t('inserted'),
    'comment_updated' => t('updated'),
    'node_update' => t('updated'),
    'node_insert' => t('inserted'),
    'user_login' => t('logged in'),
    'user_logout' => t('logged out'),
    'user_insert' => t('was created'),
    'user_updated' => t('was updated'),
  );
}