Set a fieldgroup property
Usage
$fieldgroup = $fieldgroup->set(string $key, $value);
Arguments
Name | Type(s) | Description |
---|---|---|
key | string | Name of property to set |
value | string, int, object | Value of property |
Return value
Exceptions
Method can throw exceptions on error:
WireException
- if passed invalid data
Fieldgroup methods and properties
API reference based on ProcessWire core version 3.0.236