Connector to make DUF work with Smalldb.
More...
Connector to make DUF work with Smalldb.
/
- Todo:
- Some caching would be nice.
static updateFieldGroup |
( |
& |
$group_config, |
|
|
|
$context |
|
) |
| |
|
static |
Update a field group.
- Parameters
-
$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. |
- Returns
- FALSE if group cannot be updated.
- Todo:
- Shouldn't we use toolbox?
- Todo:
- Optimize this.
- Todo:
- Add permission check to actions
Implements IFieldGroupGenerator.