function CourseObjectWebform::getCloneAbility in Course 3.x
Same name and namespace in other branches
- 8.3 modules/course_webform/src/Plugin/course/CourseObject/CourseObjectWebform.php \Drupal\course_webform\Plugin\course\CourseObject\CourseObjectWebform::getCloneAbility()
- 8.2 modules/course_webform/src/Plugin/course/CourseObject/CourseObjectWebform.php \Drupal\course_webform\Plugin\course\CourseObject\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 CourseObject::getCloneAbility
File
- modules/
course_webform/ src/ Plugin/ course/ CourseObject/ CourseObjectWebform.php, line 123
Class
- CourseObjectWebform
- Plugin annotation @CourseObject( id = "webform", label = "Webform", handlers = { "fulfillment" = "\Drupal\course_webform\Plugin\course\CourseObject\CourseObjectWebformFulfillment" } )
Namespace
Drupal\course_webform\Plugin\course\CourseObjectCode
function getCloneAbility() {
return TRUE;
}