|
@@ -584,6 +584,12 @@ class EnFrSchemaExtension extends SdlSchemaExtensionPluginBase {
|
|
->map('value', $builder->fromParent())
|
|
->map('value', $builder->fromParent())
|
|
->map('path', $builder->fromValue('field_numero.value'))
|
|
->map('path', $builder->fromValue('field_numero.value'))
|
|
);
|
|
);
|
|
|
|
+
|
|
|
|
+ $registry->addFieldResolver('Noteprod', 'liens',
|
|
|
|
+ $builder->produce('entity_reference')
|
|
|
|
+ ->map('entity', $builder->fromParent())
|
|
|
|
+ ->map('field', $builder->fromValue('field_text_lien'))
|
|
|
|
+ );
|
|
}
|
|
}
|
|
|
|
|
|
protected function addNoteProd(ResolverRegistryInterface $registry, ResolverBuilder $builder) {
|
|
protected function addNoteProd(ResolverRegistryInterface $registry, ResolverBuilder $builder) {
|