The getFooterGroup method is used to get a single FooterGroup object that represents a group of footer links.
group_id
int
Numeric identifier of the group.
Returned value
The FooterGroup object.
Example
source{% set group_id = 1 %}
{% set footerGroup = ObjectApi.getFooterGroup(group_id) %}
<h1>{{ footerGroup.name }}</h1>
{% for footerLink in footerGroup.links %}
<a href="{{ footerLink.url }}" title="{{ footerLink.title }}">
{{ footerLink.title }}
</a>
{% endfor %}
output<h1>Company</h1>
<a href="/i/About-us/1" title="About us">
About us
</a>
<a href="/en_US/contact" title="Contact form">
Contact Form
</a>