From fc5738b7285d2db33da02168bb0b12328c4ef2b2 Mon Sep 17 00:00:00 2001 From: Huong Nguyen Date: Tue, 2 Jul 2024 15:10:23 +0700 Subject: [PATCH] MDL-80797 core: Use `stoppable_trait` --- lib/classes/hook/navigation/secondary_extend.php | 2 ++ 1 file changed, 2 insertions(+) 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.