You are here

function hosting_task_ajax_list in Hosting 7.3

Same name and namespace in other branches
  1. 6.2 task/hosting_task.module \hosting_task_ajax_list()
  2. 7.4 task/hosting_task.module \hosting_task_ajax_list()

Page callback to provide JSON output for a task.

1 string reference to 'hosting_task_ajax_list'
hosting_task_menu in task/hosting_task.module
Implements hook_menu().

File

task/hosting_task.module, line 195
Web server node type is defined here.

Code

function hosting_task_ajax_list($node) {
  $return['markup'] = hosting_task_table($node);
  $return['changed'] = $node->changed;
  $return['navigate_url'] = url('node/' . $node->nid);
  drupal_json_output($return);
  exit;
}