public function CourseObjectBook::getCloneAbility in Course 7.2
Same name and namespace in other branches
- 6 modules/course_book/course_book.classes.inc \CourseObjectBook::getCloneAbility()
- 7 modules/course_book/course_book.classes.inc \CourseObjectBook::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_book/ course_book.classes.inc, line 131
Class
Code
public function getCloneAbility() {
return t('%title will only clone the first page.', array(
'%title' => $this
->getTitle(),
));
}