Elgg
Version master
|
Service for getting field definitions for type/subtype combinations. More...
Public Member Functions | |
__construct (protected EventsService $events, protected Translator $translator) | |
Constructor. More... | |
get (string $type, string $subtype) | |
Returns an array of fields for a give type/subtype combination. More... | |
Protected Attributes | |
array | $fields = [] |
Service for getting field definitions for type/subtype combinations.
Definition at line 14 of file FieldsService.php.
Elgg\Forms\FieldsService::__construct | ( | protected EventsService | $events, |
protected Translator | $translator | ||
) |
Constructor.
EventsService | $events | events service |
Translator | $translator | translator service |
Definition at line 26 of file FieldsService.php.
Elgg\Forms\FieldsService::get | ( | string | $type, |
string | $subtype | ||
) |
Returns an array of fields for a give type/subtype combination.
string | $type | type of the entity to get fields for |
string | $subtype | subtype of the entity to get fields for |
Definition at line 37 of file FieldsService.php.
|
protected |
Definition at line 18 of file FieldsService.php.