function hosting_platform_node_info in Hosting 6.2
Same name and namespace in other branches
- 5 platform/hosting_platform.module \hosting_platform_node_info()
- 7.4 platform/hosting_platform.module \hosting_platform_node_info()
- 7.3 platform/hosting_platform.module \hosting_platform_node_info()
Implementation of hook_node_info().
File
- platform/
hosting_platform.module, line 63 - 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;
}