public function process(ContainerBuilder $container)
    {
        if (!$container->has('ezpublish.view_builder.registry')) {
            return;
        }

        $viewBuilderRegistry = $container->findDefinition('ezpublish.view_builder.registry');
        $tagViewBuilder = $container->findDefinition('eztags.view.tag_view_builder');

        $viewBuilderRegistry->addMethodCall(
            'addToRegistry',
            [[$tagViewBuilder]]
        );
    }
public function process(ContainerBuilder $container)
    {
        if (!$container->has('ezpublish.view_builder.registry')) {
            return;
        }

        $viewBuilderRegistry = $container->findDefinition('ezpublish.view_builder.registry');
        $tagViewBuilder = $container->findDefinition('eztags.view.tag_view_builder');

        $viewBuilderRegistry->addMethodCall(
            'addToRegistry',
            [[$tagViewBuilder]]
        );
    }
public function process ( ContainerBuilder $ container ) { if ( ! $ container -> has ( 'ezpublish.view_builder.registry' ) ) { return ; } $ viewBuilderRegistry = $ container -> findDefinition ( 'ezpublish.view_builder.registry' ) ; $ tagViewBuilder = $ container -> findDefinition ( 'eztags.view.tag_view_builder' ) ; $ viewBuilderRegistry -> addMethodCall ( 'addToRegistry' , [ [ $ tagViewBuilder ] ] ) ; }
Registers the tag view builder into view builder registry.

@param \Symfony\Component\DependencyInjection\ContainerBuilder $container
Registers the tag view builder into view builder registry .