You are here

function rules_link_trigger_js in Rules Link 7.2

Same name and namespace in other branches
  1. 7 rules_link.module \rules_link_trigger_js()

Menu callback for javascript links.

1 string reference to 'rules_link_trigger_js'
rules_link_menu in ./rules_link.module
Implements hook_menu().

File

./rules_link.module, line 326
Rules Link - module file.

Code

function rules_link_trigger_js($rules_link, $entity_id) {
  rules_link_trigger($rules_link, $entity_id);
  $json = array(
    'message' => drupal_get_messages(),
  );
  drupal_json_output($json);
}