You are here

function casetracker_basic_node_info in Case Tracker 7

Same name and namespace in other branches
  1. 5 casetracker_basic.module \casetracker_basic_node_info()
  2. 6 casetracker_basic.module \casetracker_basic_node_info()

Implements hook_node_info().

File

./casetracker_basic.module, line 37
Enables a basic project node type for use with Case Tracker.

Code

function casetracker_basic_node_info() {
  return array(
    'casetracker_basic_project' => array(
      'name' => t('Project'),
      'base' => 'casetracker_basic_project',
      'description' => t('Create a basic project for use with Case Tracker.'),
      'help' => t('Create a basic project for use with Case Tracker.'),
    ),
    'casetracker_basic_case' => array(
      'name' => t('Case', array(), array(
        'context' => 'an instance',
      )),
      'base' => 'casetracker_basic_case',
      'description' => t('Open a new case assigned to a particular project.'),
      'help' => t('Open a new case assigned to a particular project.'),
    ),
  );
}