Get the number of templates using the given fieldgroup.
Primarily used to determine if the Fieldgroup is deleteable.
Usage
$int = $fieldgroups->getNumTemplates(Fieldgroup $fieldgroup);
Arguments
Name | Type(s) | Description |
---|---|---|
fieldgroup | Fieldgroup |
Return value
int
$fieldgroups methods and properties
API reference based on ProcessWire core version 3.0.236