You are here

function hosting_package_node_info in Hosting 7.4

Same name and namespace in other branches
  1. 5 package/hosting_package.module \hosting_package_node_info()
  2. 6.2 package/hosting_package.module \hosting_package_node_info()
  3. 7.3 package/hosting_package.module \hosting_package_node_info()

Implements hook_node_info().

File

package/hosting_package.module, line 25
Defines package node types

Code

function hosting_package_node_info() {

  #package management
  $types["package"] = array(
    "type" => 'package',
    "name" => t('Package'),
    'base' => 'hosting_package',
    "has_title" => FALSE,
    "title_label" => '',
    "description" => hosting_node_help("package"),
    "has_body" => 0,
    "body_label" => '',
    "min_word_count" => 0,
  );
  return $types;
}