mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 13:33:52 +02:00
MDL-81525 core: Tidy up hook tags
This commit is contained in:
parent
8cf14f6e70
commit
1e36531d0d
@ -26,7 +26,7 @@ use context;
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
#[\core\attribute\label('Allows plugins or features to perform actions after a role is assigned to a user.')]
|
||||
#[\core\attribute\tags('role,', 'user')]
|
||||
#[\core\attribute\tags('role', 'user')]
|
||||
class after_role_assigned {
|
||||
|
||||
/**
|
||||
|
@ -26,7 +26,7 @@ use context;
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
#[\core\attribute\label('Allows plugins or features to perform actions after a role is unassigned for a user.')]
|
||||
#[\core\attribute\tags('role,', 'user')]
|
||||
#[\core\attribute\tags('role', 'user')]
|
||||
class after_role_unassigned {
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user