function CourseObjectPoll::getNodeTypes in Course 7.2
Same name and namespace in other branches
- 6 modules/course_poll/course_poll.classes.inc \CourseObjectPoll::getNodeTypes()
- 7 modules/course_poll/course_poll.classes.inc \CourseObjectPoll::getNodeTypes()
Return a list of valid node types.
Return value
array An array with node type machine names.
Overrides CourseObjectNode::getNodeTypes
File
- modules/
course_poll/ course_poll.classes.inc, line 69
Class
- CourseObjectPoll
- Parent class for poll tracking.
Code
function getNodeTypes() {
return array(
'poll',
);
}