You are here

function hosting_platform_node_info in Hosting 7.3

Same name and namespace in other branches
  1. 5 platform/hosting_platform.module \hosting_platform_node_info()
  2. 6.2 platform/hosting_platform.module \hosting_platform_node_info()
  3. 7.4 platform/hosting_platform.module \hosting_platform_node_info()

Implements hook_node_info().

File

platform/hosting_platform.module, line 68
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;
}