Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.6.9, 2.7.6, 2.8.4
-
MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
-
MOODLE_29_STABLE
-
MDL-49306-master -
Description
We have defined some blocks which have specific data that needs to copied to the new instances when a block is copied. Currently there is no mechanism for this to happen. The provided patch allows block to implement a method which is called when a block is copied. This function is an analogue of the functions which are called when a block is created or deleted.