public function process(ContainerBuilder $container): void
    {
        if (!$container->has('contao.fragment.registry')) {
            return;
        }

        $this->registerFragments($container, ContentElementReference::TAG_NAME);
        $this->registerFragments($container, FrontendModuleReference::TAG_NAME);
    }