You are here

function patch_manager_node_info in Patch manager 7

Same name and namespace in other branches
  1. 6 patch_manager.module \patch_manager_node_info()

Implements hook_node_info().

@todo Remove default publish to front page

File

./patch_manager.module, line 131
Patch manager provides developers with tools for managing patches.

Code

function patch_manager_node_info() {
  $items = array();
  $items['patch'] = array(
    'name' => t('Patch'),
    'base' => 'patch_manager',
    'description' => t('A <em>patch</em> is used by developers to store a patch file, and keep track of information related to that patch.'),
    'title_label' => t('Patch name'),
    'has_body' => 1,
    'body_label' => t('Patch notes'),
    'locked' => 0,
  );
  return $items;
}