TagGroupModel
This document is for a version of Craft CMS that is no longer supported. Please refer to the latest version →
Whenever you’re dealing with a tag group in your template, you’re actually working with a TagGroupModel object.
#Simple Output
Outputting a TagGroupModel object without attaching a property or method will return the group’s name:
<h3>{{ tag.getGroup() }}</h3>
#Properties
TagGroupModel objects have the following properties:
#handle
The handle of the group.
#id
The ID of the group.
#name
The name of the group.