Add fields to an entity form.
More...
Add fields to an entity form.
- Since
- 7.1
Definition at line 10 of file RegisterFields.php.
◆ addContainerInput()
| static Elgg\Forms\RegisterFields::addContainerInput |
( |
\Elgg\Event |
$event | ) |
|
|
static |
Add a container input to the form fields.
- Parameters
-
| \Elgg\Event | $event | 'forms:register:fields', '<type>:<subtype>' |
- Returns
- array|null
Definition at line 68 of file RegisterFields.php.
◆ addEntityGUID()
| static Elgg\Forms\RegisterFields::addEntityGUID |
( |
\Elgg\Event |
$event | ) |
|
|
static |
Add a hidden input to the fields when an entity is provided.
- Parameters
-
| \Elgg\Event | $event | 'form:register:fields', 'all' |
- Returns
- array|null
Definition at line 19 of file RegisterFields.php.
◆ addEntityToAccessInput()
| static Elgg\Forms\RegisterFields::addEntityToAccessInput |
( |
\Elgg\Event |
$event | ) |
|
|
static |
Add the entity to input/access fields.
- Parameters
-
| \Elgg\Event | $event | 'form:register:fields', 'all' |
- Returns
- array|null
Definition at line 43 of file RegisterFields.php.
The documentation for this class was generated from the following file: