Resetting a contributed block's contents to default values

Resetting a contributed block's contents to default values

by Joseph Rézeau -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi all!

I am currently upgrading my block_glossary_export_to_quiz

Once a selected glossary's entries have been exported to a quiz/questions compatible format, and the user returns to the course main page, I would like all of the block's specialization values to be reset to their default values, instead of keeping their previously entered values.

How could I do that?

Thanks in advance.

Joseph

Average of ratings: -