You are here

function hosting_task_node_info in Hosting 7.4

Same name and namespace in other branches
  1. 5 task/hosting_task.module \hosting_task_node_info()
  2. 6.2 task/hosting_task.module \hosting_task_node_info()
  3. 7.3 task/hosting_task.module \hosting_task_node_info()

Implements hook_node_info().

File

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

Code

function hosting_task_node_info() {
  $types["task"] = array(
    "type" => 'task',
    "name" => t('Task'),
    'base' => 'hosting_task',
    "has_title" => FALSE,
    "title_label" => '',
    "description" => hosting_node_help("task"),
    "has_body" => 0,
    "body_label" => '',
    "min_word_count" => 0,
  );
  return $types;
}