MDL-78204 availability: Remove 'showmore' from availability_info
- Remove 'showmore' logic from the base availability_info renderable. Other components rendering the availability information should handle the showmore/showless behaviour themselves. - Deprecate JS module and string. - Move availability_info header generation logic to a new protected function to improve code readability.
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
/**
|
||||
* Show more action for availablity information.
|
||||
*
|
||||
* @deprecated since 4.3 MDL-78204.
|
||||
* @todo MDL-78489 This will be deleted in Moodle 4.7.
|
||||
* @module core_availability/availability_more
|
||||
* @copyright 2021 Bas Brands <[email protected]>
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
|
||||
Reference in New Issue
Block a user