getDisplay(); }, ['is_safe' => ['html']] ), new TwigFilter( 'error', function ($string) { return Message::error($string)->getDisplay(); }, ['is_safe' => ['html']] ), ]; } }