|
@@ -937,6 +937,14 @@ class OuattSchemaExtension extends SdlSchemaExtensionPluginBase {
|
|
})
|
|
})
|
|
)
|
|
)
|
|
);
|
|
);
|
|
|
|
+
|
|
|
|
+ $registry->addFieldResolver('Reponse', 'confidentialite',
|
|
|
|
+ $builder->produce('property_path')
|
|
|
|
+ ->map('type', $builder->fromValue('entity:node'))
|
|
|
|
+ ->map('value', $builder->fromParent())
|
|
|
|
+ ->map('path', $builder->fromValue('field_confidentialite.value'))
|
|
|
|
+ );
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
// ____ _
|
|
// ____ _
|