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

Check commentable capability for a container. More...

Public Member Functions

 __invoke (\Elgg\Event $event)
 Prevent commenting on a container if container is not commentable. More...
 

Detailed Description

Check commentable capability for a container.

Since
4.1

Definition at line 10 of file ContainerLogicHandler.php.

Member Function Documentation

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

Prevent commenting on a container if container is not commentable.

Parameters
\Elgg\Event$event'container_logic_check', 'all'
Returns
void|false

Definition at line 19 of file ContainerLogicHandler.php.


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