MDL-80797 core: Use stoppable_trait

This commit is contained in:
Huong Nguyen 2024-07-02 15:10:23 +07:00
parent 315b2bdd11
commit fc5738b728
No known key found for this signature in database
GPG Key ID: 40D88AB693A3E72A

View File

@ -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.