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

When a comment is created subscribe the owner to the container (original content) of the comment if the user has't muted the container yet. More...

Public Member Functions

 __invoke (\Elgg\Event $event)
 Subscribe the user to the comment container. More...
 

Detailed Description

When a comment is created subscribe the owner to the container (original content) of the comment if the user has't muted the container yet.

Since
4.0

Definition at line 12 of file AutoSubscribeHandler.php.

Member Function Documentation

Elgg\Comments\AutoSubscribeHandler::__invoke ( \Elgg\Event  $event)

Subscribe the user to the comment container.

Parameters
\Elgg\Event$event'create', 'object'
Returns
void

Definition at line 21 of file AutoSubscribeHandler.php.


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