mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 16:04:25 +02:00
MDL-80797 core: Use stoppable_trait
This commit is contained in:
parent
315b2bdd11
commit
fc5738b728
@ -15,6 +15,7 @@
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user