Skip to content
Snippets Groups Projects

This is a temporary hack to fix the graphql requests

Files
2
@@ -123,10 +123,9 @@ class WebformSubmit extends DataProducerPluginBase implements ContainerFactoryPl
string $id,
// The GraphQL field context is only populated if it is at the end of the
// argument list. Suppress the coding standards warning for this.
// @phpcs:ignore PEAR.Functions.ValidDefaultValue.NotAtEnd
array $elements = [],
?string $sourceEntityType = NULL,
?string $sourceEntityId = NULL,
array $elements,
?string $sourceEntityType,
?string $sourceEntityId,
FieldContext $field,
): WebformSubmissionResult {
// Create context and execute validation and submission in render context to
Loading