mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
94420851a5
Plugins have always been able to return either a string or a lang string when implementing the hook, 'get_shortcuts'. Since content_items will be the replacement for that stdClass implementation, we need a way for plugins to continue to have this flexibility. This just provides a small contract and some classes that plugins can use in future.