diff --git a/lib/classes/hook/navigation/secondary_extend.php b/lib/classes/hook/navigation/secondary_extend.php index eaa6d96348b..ea25c2d14f6 100644 --- a/lib/classes/hook/navigation/secondary_extend.php +++ b/lib/classes/hook/navigation/secondary_extend.php @@ -15,6 +15,7 @@ // along with Moodle. If not, see . namespace core\hook\navigation; +use core\hook\stoppable_trait; use core\navigation\views\secondary; /** @@ -28,6 +29,7 @@ use core\navigation\views\secondary; #[\core\attribute\label('Allows plugins to insert nodes into site secondary navigation')] #[\core\attribute\tags('navigation')] final class secondary_extend { + use stoppable_trait; /** * Creates new hook.