Commit 59391e80 authored by Mark Nelson's avatar Mark Nelson
Browse files

MDL-58501 mod_*: improved docs for new calendar callbacks

parent 0714bcb2
......@@ -802,7 +802,10 @@ function mod_wiki_get_fontawesome_icon_map() {
}
/**
* Handles creating actions for events.
* This function receives a calendar event and returns the action associated with it, or null if there is none.
*
* This is used by block_myoverview in order to display the event appropriately. If null is returned then the event
* is not displayed on the block.
*
* @param calendar_event $event
* @param \core_calendar\action_factory $factory
......
......@@ -1787,7 +1787,10 @@ function workshop_calendar_update(stdClass $workshop, $cmid) {
}
/**
* Handles creating actions for events.
* This function receives a calendar event and returns the action associated with it, or null if there is none.
*
* This is used by block_myoverview in order to display the event appropriately. If null is returned then the event
* is not displayed on the block.
*
* @param calendar_event $event
* @param \core_calendar\action_factory $factory
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment