mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
![]() The availability condition get_description method is called while gathering data for the modinfo object. As such it is not safe to call other functions which might rely on modinfo, such as format_string (if using filters which access modinfo). This change provides a mechanism to call format_string later, and also a general callback to do other stuff later as well if needed. It uses the same approach already taken to make activity names work correctly in the availability_condition class. |
||
---|---|---|
.. | ||
privacy | ||
capability_checker.php | ||
condition.php | ||
frontend.php | ||
info.php | ||
info_module.php | ||
info_section.php | ||
multiple_messages.php | ||
result.php | ||
tree.php | ||
tree_node.php |