Template::setFieldgroup()

Set this Template's Fieldgroup

Usage

$template->setFieldgroup(Fieldgroup $fieldgroup);

Arguments

NameType(s)Description
$fieldgroupFieldgroup

Return value

$this

Object instance it was called from (method supports fluent interface).

Exceptions

Method can throw exceptions on error:

  • WireException


Template methods and properties

API reference based on ProcessWire core version 3.0.252