We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65771a1 commit 4e08ed6Copy full SHA for 4e08ed6
lib.php
@@ -1523,6 +1523,16 @@ public function get_config_for_external(): array {
1523
// Return everything (nothing to hide).
1524
return $this->get_format_options();
1525
}
1526
+
1527
+ /**
1528
+ * Determines whether section items can be removed from the navigation, just like the breadcrumb feature seen on activity pages.
1529
+ * By default, it returns false but can be overridden by the course format to change the behaviour.
1530
+ *
1531
+ * @return bool True if sections can be removed, false otherwise.
1532
+ */
1533
+ public function can_sections_be_removed_from_navigation(): bool {
1534
+ return true;
1535
+ }
1536
1537
1538
/**
0 commit comments