Elgg  Version master
Public Member Functions | List of all members
Elgg\Comments\GroupMemberPermissionsHandler Class Reference

Check if commenting on group content is allowed. More...

Public Member Functions

 __invoke (\Elgg\Hook $hook)
 Don't allow users to comment on content in a group they aren't a member of. More...
 

Detailed Description

Check if commenting on group content is allowed.

Since
4.0

Definition at line 10 of file GroupMemberPermissionsHandler.php.

Member Function Documentation

Elgg\Comments\GroupMemberPermissionsHandler::__invoke ( \Elgg\Hook  $hook)

Don't allow users to comment on content in a group they aren't a member of.

Parameters
\Elgg\Hook$hook'permissions_check:comment', 'object'
Returns
void|false

Definition at line 19 of file GroupMemberPermissionsHandler.php.


The documentation for this class was generated from the following file: