Skip to content

Commit

Permalink
Merge pull request #1535 from AmazeeLabs/SLB-426-graphql-build-entiti…
Browse files Browse the repository at this point in the history
…es-update

SLB-426: GraphQL Build entity update
  • Loading branch information
chindris committed Jun 7, 2024
2 parents f67b1d0 + 3ba0aaf commit 21e025c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public function buildForm(
*/
public function buildEntity(array $form, FormStateInterface $form_state) {
$entity = clone $this->entity;
$entity->schema_configuration[$entity->schema] += $form_state->getValue('schema_configuration')[$entity->schema];
$entity->schema_configuration[$entity->schema] = array_merge($entity->schema_configuration[$entity->schema], $form_state->getValue('schema_configuration')[$entity->schema]);
return $entity;
}

Expand Down

0 comments on commit 21e025c

Please sign in to comment.