function hosting_platform_node_info in Hosting 7.4
Same name and namespace in other branches
- 5 platform/hosting_platform.module \hosting_platform_node_info()
- 6.2 platform/hosting_platform.module \hosting_platform_node_info()
- 7.3 platform/hosting_platform.module \hosting_platform_node_info()
Implements hook_node_info().
File
- platform/
hosting_platform.module, line 69 - Platform node type definition.
Code
function hosting_platform_node_info() {
$types["platform"] = array(
"type" => 'platform',
"name" => 'Platform',
'base' => '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;
}