You are here

function CourseObjectQuiz::getNodeTypes in Course 6

Same name and namespace in other branches
  1. 7.2 modules/course_quiz/course_quiz.classes.inc \CourseObjectQuiz::getNodeTypes()
  2. 7 modules/course_quiz/course_quiz.classes.inc \CourseObjectQuiz::getNodeTypes()

Return a list of valid node types.

Return value

array An array keyed by machine name of a node type. return array( 'my_event' => 'My event content type', );

Overrides CourseObjectNode::getNodeTypes

File

modules/course_quiz/course_quiz.classes.inc, line 123

Class

CourseObjectQuiz

Code

function getNodeTypes() {
  return array(
    'quiz',
  );
}