| 
    Elgg
    Version master
    
   | 
 
Service for getting field definitions for type/subtype combinations. More...
Public Member Functions | |
| __construct (protected EventsService $events, protected Translator $translator, protected EntityTable $entityTable) | |
| 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 15 of file FieldsService.php.
| Elgg\Forms\FieldsService::__construct | ( | protected EventsService | $events, | 
| protected Translator | $translator, | ||
| protected EntityTable | $entityTable | ||
| ) | 
Constructor.
| EventsService | $events | events service | 
| Translator | $translator | translator service | 
| EntityTable | $entityTable | entity table | 
Definition at line 28 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 39 of file FieldsService.php.
      
  | 
  protected | 
Definition at line 19 of file FieldsService.php.