Interface to field group generator. More...
Static Public Member Functions | |
static | updateFieldGroup (&$group_config, $context) |
Update a field group. More... | |
Interface to field group generator.
Field group may specify its generator rather then specifying all details of its configuration. For example fields can be generated from model definition. This interface acts as a connector between third party parts containing metadata and DUF.
|
static |
Update a field group.
$group_config | contains partial configuration of the field group. Generator fills in holes in it. There should be some identifier of entity type or whatever is relevant to this generator. |
$context | is global context passed from Toolbox. Generator should use only this context to retrieve all it needs to generate field group. |
Implemented in Smalldb.