MDL-54102 core: describe newly introduced hooks

This commit is contained in:
Mark Nelson 2016-05-09 12:33:21 +08:00
parent 1e72daa899
commit 3fb5ddc3d6

View File

@ -119,6 +119,13 @@ information provided here is intended especially for developers.
* table_sql download process is using the new data formats plugin which you can't use if you are buffering any output
* flexible_table::get_download_menu(), considered private, has been deleted. Use
$OUTPUT->download_dataformat_selector() instead.
* Introduced new hooks for plugin developers.
* pre_course_category_delete($category)
* pre_course_delete($course)
* pre_course_module_delete($cm)
* pre_block_delete($instance)
* pre_user_delete($user)
These hooks allow developers to use the item in question before it is deleted by core.
=== 3.0 ===