$fieldgroupsnewFieldgroup()

Create a new Fieldgroup in memory

Available since version 3.0.258.

Usage

$fieldgroup = $fieldgroups->newFieldgroup(string $name);

Arguments

NameType(s)Description
$namestring

Fieldgroup name

Return value

Exceptions

Method can throw exceptions on error:

  • WireException - If given a name that already exists


$fieldgroups methods and properties

API reference based on ProcessWire core version 3.0.259