public function contentBlockFilter($defaultContent, $name, $type = 'line', $locale = null, $useLocaleFallback = null)
    {
        $block = $this->contentService->getOrCreateContentBlock($name, $locale, $useLocaleFallback, $type, $defaultContent);

        if (null === $locale || (null !== $this->translator && $this->translator->getLocale() == $locale))
        {
            return $this->renderContent($block);
        }

        return '';
    }