Function Hook_fields_reference->get_field_types
Definitions
sources/hooks/systems/fields/reference.php
- Find what field types this hook can serve. This method only needs to be defined if it is not serving a single field type with a name corresponding to the hook itself.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$filter | ?ID_TEXT | Null | N/A | N/A | Only find if we can potential match this field type (null: no filter) |
Return
- Map of field type to field type title
- Type: array
- Set: N/A
- Range: N/A