function hosting_site_node_info in Hosting 5
Same name and namespace in other branches
- 6.2 site/hosting_site.nodeapi.inc \hosting_site_node_info()
- 7.4 site/hosting_site.nodeapi.inc \hosting_site_node_info()
- 7.3 site/hosting_site.nodeapi.inc \hosting_site_node_info()
Implementation of hook_node_info
File
- site/
hosting_site.module, line 11
Code
function hosting_site_node_info() {
$types["site"] = array(
"type" => 'site',
"name" => 'Site',
"module" => '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;
}