|
@@ -383,7 +383,7 @@ class EnFrSchemaExtension extends SdlSchemaExtensionPluginBase {
|
|
->map('type', $builder->fromValue('entity:node'))
|
|
->map('type', $builder->fromValue('entity:node'))
|
|
->map('value', $builder->fromParent())
|
|
->map('value', $builder->fromParent())
|
|
->map('path', $builder->fromValue('field_degres_detrangement.value'))
|
|
->map('path', $builder->fromValue('field_degres_detrangement.value'))
|
|
- );
|
|
|
|
|
|
+ );
|
|
|
|
|
|
$registry->addFieldResolver('Textref', 'field_titre_regular',
|
|
$registry->addFieldResolver('Textref', 'field_titre_regular',
|
|
$builder->produce('property_path')
|
|
$builder->produce('property_path')
|
|
@@ -525,7 +525,7 @@ class EnFrSchemaExtension extends SdlSchemaExtensionPluginBase {
|
|
->map('path', $builder->fromValue('field_video'))
|
|
->map('path', $builder->fromValue('field_video'))
|
|
);
|
|
);
|
|
|
|
|
|
- $registry->addFieldResolver('Textprod', 'tags',
|
|
|
|
|
|
+ $registry->addFieldResolver('Textprod', 'tagsprod',
|
|
$builder->produce('entity_reference')
|
|
$builder->produce('entity_reference')
|
|
->map('entity', $builder->fromParent())
|
|
->map('entity', $builder->fromParent())
|
|
->map('field', $builder->fromValue('field_tag_prod'))
|
|
->map('field', $builder->fromValue('field_tag_prod'))
|