Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
This files describes API changes in /customfield/*,Information provided here is intended especially for developers.=== 4.4 ===* Enhance the handling of files embedded within textarea custom fields in the course backup and restore functionalities.These files are now properly backed up when a course is backed up, and restored when the course is restored.Other types of custom fields can also benefit from this new API. See MDL-79151 for more information.`\core_customfield\handler::restore_instance_data_from_backup()` now conditionally returns a data_controller id andthere are two new methods, `\core_customfield\data_controller::backup_define_structure()` and`\core_customfield\data_controller::restore_define_structure()`.=== 4.3 ===* Field categories are now consistently of type `PARAM_TEXT`, ensure instance `get_formatted_name()` helper is usedduring output=== 4.2 ===* The `\customfield_select\field_controller::get_options_array` method, deprecated since 3.10, has been removed, usethe field instance `get_options` method instead=== 3.11 ===* Methods \core_customfield\handler::get_field_config_form() and \core_customfield\handler::setup_edit_page() are nolonger used. Components that define custom fields areas do not need to implement them. Field edit form opens inthe modal now.