Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Moodle specific implementation of \Psr\EventDispatcher\StoppableEventInterface interface from PSR-14.

Author: Petr Skoda
Copyright: 2023 Open LMS
License: https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 51 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions


Functions that are not part of a class:

stop_propagation()   X-Ref
Allows plugins to notify the hook dispatcher that hook propagation should be stopped


isPropagationStopped()   X-Ref
Is propagation stopped?

This will typically only be used by the Dispatcher to determine if the
previous listener halted propagation.
return: bool True if the Event is complete and no further listeners should be called.