Elgg  Version 4.3
Public Member Functions | List of all members
Elgg\Input\AddFileHelpTextHandler Class Reference

Adds help text to input/file. More...

Public Member Functions

 __invoke (\Elgg\Hook $hook)
 Add a help text to input/file about upload limit. More...
 

Detailed Description

Adds help text to input/file.

Since
4.0

Definition at line 10 of file AddFileHelpTextHandler.php.

Member Function Documentation

Elgg\Input\AddFileHelpTextHandler::__invoke ( \Elgg\Hook  $hook)

Add a help text to input/file about upload limit.

In order to not show the help text supply 'show_upload_limit' => false to elgg_view_field()

Parameters
\Elgg\Hook$hook'view_vars' 'elements/forms/help'
Returns
void|array

Definition at line 21 of file AddFileHelpTextHandler.php.


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