mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Merge branch 'MDL-81326-main' of https://github.com/sarjona/moodle
This commit is contained in:
commit
ec5d23b450
@ -36,3 +36,16 @@ function book_scale_used() {
|
||||
function book_get_nav_types() {
|
||||
throw new coding_exception(__FUNCTION__ . '() has been removed.');
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns list of available navigation link CSS classes.
|
||||
*
|
||||
* @deprecated since Moodle 4.4.
|
||||
* @todo MDL-81328 Final deprecation in Moodle 4.8.
|
||||
* @return array
|
||||
*/
|
||||
function book_get_nav_classes() {
|
||||
debugging(__FUNCTION__ . '() is deprecated. There is no replacement.');
|
||||
|
||||
return ['navtoc', 'navimages', 'navtext'];
|
||||
}
|
||||
|
@ -43,14 +43,6 @@ function book_get_numbering_types() {
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns list of available navigation link CSS classes.
|
||||
* @return array
|
||||
*/
|
||||
function book_get_nav_classes() {
|
||||
return array ('navtoc', 'navimages', 'navtext');
|
||||
}
|
||||
|
||||
/**
|
||||
* Add book instance.
|
||||
*
|
||||
|
@ -1,8 +1,10 @@
|
||||
This files describes API changes in the book code.
|
||||
This file describes API changes in the book code.
|
||||
|
||||
=== 4.4 ===
|
||||
|
||||
* The previously deprecated `book_get_nav_types` method has been removed, along with the `BOOK_LINK_*` constants
|
||||
* book_get_nav_classes() has been deprecated and won't have replacement because it's not required anymore. It should have been
|
||||
deprecated together with book_get_nav_types.
|
||||
|
||||
=== 4.0 ===
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user