code: 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);
      }
docs: Adds the fragments to the registry.