function CourseObjectPoll::getCloneAbility in Course 6
Same name and namespace in other branches
- 7.2 modules/course_poll/course_poll.classes.inc \CourseObjectPoll::getCloneAbility()
- 7 modules/course_poll/course_poll.classes.inc \CourseObjectPoll::getCloneAbility()
Returns an translated error message if this object has issues with cloning.
Return value
mixed TRUE if cloning is supported, FALSE if cloning is not supported. A string if the object can clone but with caveats.
Overrides CourseObjectNode::getCloneAbility
File
- modules/
course_poll/ course_poll.classes.inc, line 71
Class
- CourseObjectPoll
- Parent class for poll tracking.
Code
function getCloneAbility() {
return TRUE;
}