Ibexa DXP Discussions

Community discussion forum for developers working with Ibexa DXP

Tip: Get current siteaccess name in Twig in eZ Platform

You can access the current matching siteaccess name in Twig templates with the following call:

{{ app.request.get('siteaccess').name }}
3 Likes

@janit You can also use {{ ezpublish.siteaccess.name }} :slight_smile:

4 Likes

@janit @emodric Great forum post tip content!