You are here

function course_test_node_info in Course 7.2

Same name and namespace in other branches
  1. 6 tests/course_test/course_test.module \course_test_node_info()
  2. 7 tests/course_test/course_test.module \course_test_node_info()

Implements hook_node_info().

File

tests/course_test/course_test.module, line 6

Code

function course_test_node_info() {
  return array(
    'course_test' => array(
      'name' => 'Course test',
      'base' => 'course_test',
      'description' => 'Course test content type',
    ),
    'course_test_content' => array(
      'name' => 'Course test content',
      'base' => 'course_test',
      'description' => 'Course object test content type',
    ),
  );
}