MediaWiki master
UserRequirementsConditionHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\User\Hook;
4
6
30 $type,
31 array $args,
32 UserIdentity $user,
33 bool $isPerformingRequest,
34 ?bool &$result
35 ): void;
36}
This is a hook handler interface, see docs/Hooks.md.
onUserRequirementsCondition( $type, array $args, UserIdentity $user, bool $isPerformingRequest, ?bool &$result)
Use this hook to check user requirements condition for a user.
Interface for objects representing user identity.