bundle/DependencyInjection/Compiler/RelationListFieldTypePass.php
public function process(ContainerBuilder $container): void
    {
        if ($container->has('ezpublish.fieldType.ezobjectrelationlist')) {
            $container
                ->findDefinition('ezpublish.fieldType.ezobjectrelationlist')
                ->setClass(Type::class);
        }

        if ($container->has('ezpublish.fieldType.ezobjectrelationlist.converter')) {
            $container
                ->findDefinition('ezpublish.fieldType.ezobjectrelationlist.converter')
                ->setClass(RelationListConverter::class);
        }
    }
public function process(ContainerBuilder $container): void
    {
        if ($container->has('ezpublish.fieldType.ezobjectrelationlist')) {
            $container
                ->findDefinition('ezpublish.fieldType.ezobjectrelationlist')
                ->setClass(Type::class);
        }

        if ($container->has('ezpublish.fieldType.ezobjectrelationlist.converter')) {
            $container
                ->findDefinition('ezpublish.fieldType.ezobjectrelationlist.converter')
                ->setClass(RelationListConverter::class);
        }
    }
public function process ( ContainerBuilder $ container ) : void { if ( $ container -> has ( 'ezpublish.fieldType.ezobjectrelationlist' ) ) { $ container -> findDefinition ( 'ezpublish.fieldType.ezobjectrelationlist' ) -> setClass ( Type :: class ) ; } if ( $ container -> has ( 'ezpublish.fieldType.ezobjectrelationlist.converter' ) ) { $ container -> findDefinition ( 'ezpublish.fieldType.ezobjectrelationlist.converter' ) -> setClass ( RelationListConverter :: class ) ; } }
Overrides ezrelationlist field type with own implementations.
Overrides ezrelationlist field type with own implementations .