function CourseObjectContent::getNodeTypes in Course 6
Same name and namespace in other branches
- 7.2 modules/course_content/course_content.classes.inc \CourseObjectContent::getNodeTypes()
- 7 modules/course_content/course_content.classes.inc \CourseObjectContent::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_content/ course_content.classes.inc, line 4
Class
Code
function getNodeTypes() {
$handlers = course_content_course_handlers();
return array_keys($handlers['object']);
}