You are here

function CourseObjectWebform::getCloneAbility in Course 7

Same name and namespace in other branches
  1. 6 modules/course_webform/course_webform.classes.inc \CourseObjectWebform::getCloneAbility()
  2. 7.2 modules/course_webform/course_webform.classes.inc \CourseObjectWebform::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_webform/course_webform.classes.inc, line 63

Class

CourseObjectWebform
Parent class for webform course tracking.

Code

function getCloneAbility() {
  return TRUE;
}