1 This file describes API changes in core filter API and plugins,
2 information provided here is intended especially for developers.
6 * Finally filter may use $PAGE and $OUTPUT, yay!
7 * Old global text caching was removed, each filter is now responsible
12 * filtersettings.php is now deprecated, migrate to standard settings.php
16 * legacy_filter emulation was removed
17 * support for 'mod/*' filters was removed
18 * use short filter name instead of old path, ex.: 'filter/tex' ---> 'tex'
19 in all filter API functions and methods
23 * new setup() method added to moodle_text_filter, invoked before
24 filtering happens, used to add all the requirements to the page
25 (js, css...) and/or other init tasks. See filter/glossary for
26 an example using the API (and MDL-32279 for its justification).
30 * legacy filters and legacy locations have been deprecated, so any
31 old filter should be updated to use the new moodle_text_filter,
32 and any filter bundled under mod/xxxx directories be moved to
33 /filter/xxxx (MDL-29995). They will stop working completely in
34 Moodle 2.3 (MDL-29996). See the glossary or data filters for
35 examples of legacy module filters and locations already updated.