You are here

function hosting_site_node_info in Hosting 7.4

Same name and namespace in other branches
  1. 5 site/hosting_site.module \hosting_site_node_info()
  2. 6.2 site/hosting_site.nodeapi.inc \hosting_site_node_info()
  3. 7.3 site/hosting_site.nodeapi.inc \hosting_site_node_info()

Implements hook_node_info().

File

site/hosting_site.nodeapi.inc, line 11
Site nodeapi implementations.

Code

function hosting_site_node_info() {
  $types["site"] = array(
    "type" => 'site',
    "name" => 'Site',
    'base' => 'hosting_site',
    "has_title" => TRUE,
    "title_label" => 'Domain name',
    "description" => hosting_node_help("site"),
    "has_body" => 0,
    "body_label" => '',
    "min_word_count" => 0,
  );
  return $types;
}