MDL-55074 theme_boost: Make sections different in flat nav
This commit is contained in:
@@ -3610,6 +3610,14 @@ class flat_navigation_node extends navigation_node {
|
||||
$this->indent = $indent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Does this node represent a course section link.
|
||||
* @return boolean
|
||||
*/
|
||||
public function is_section() {
|
||||
return $this->type == navigation_node::TYPE_SECTION;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for "showdivider"
|
||||
* @return boolean
|
||||
|
||||
Reference in New Issue
Block a user