'Twig processing in page content is disabled site-wide. An administrator can enable it under Configuration > Security > Twig in Content.', self::REASON_FORBIDDEN => "You don't have permission to enable Twig processing on pages.", self::REASON_PAGE_FORBIDDEN => "This page has Twig processing enabled in its content. You don't have permission to edit pages with Twig enabled.", default => 'Twig in content is not allowed.', }; } parent::__construct(403, $reason, $detail, [], $previous); } }