public static function CourseObjectBook::getNodeInstances in Course 7
Same name and namespace in other branches
- 7.2 modules/course_book/course_book.classes.inc \CourseObjectBook::getNodeInstances()
Course node context handler callback.
Overrides CourseObjectNode::getNodeInstances
File
- modules/
course_book/ course_book.classes.inc, line 8
Class
Code
public static function getNodeInstances($node) {
if (!empty($node->book['bid'])) {
return array(
$node->book['bid'],
);
}
}