Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
qbank_tagquestion\event\question_deleted_observer Class Reference

Static Public Member Functions

static delete_question_tags (question_deleted $event)
 Delete any tags defined for the deleted question.
 

Member Function Documentation

◆ delete_question_tags()

static qbank_tagquestion\event\question_deleted_observer::delete_question_tags ( question_deleted $event)
static

Delete any tags defined for the deleted question.

This uses {

See also
core_tag_tag\set_item_tags} rather than {
core_tag_tag\remove_all_item_tags} since the latter will always pass the system context, not the question context that the tag was set in.
Parameters
question_deleted$event
Return values
void

The documentation for this class was generated from the following file: