function hosting_platform_node_info in Hostmaster (Aegir) 6
Implementation of hook_node_info().
File
- modules/
hosting/ platform/ hosting_platform.module, line 45 - Platform node type definition.
Code
function hosting_platform_node_info() {
#configuration
$types["platform"] = array(
"type" => 'platform',
"name" => 'Platform',
"module" => 'hosting_platform',
"has_title" => TRUE,
"title_label" => t('Name'),
"description" => hosting_node_help("platform"),
"has_body" => 0,
"body_label" => '',
"min_word_count" => 0,
);
return $types;
}