From fd94b1ef032a0825e37360f545d76476c641d79c Mon Sep 17 00:00:00 2001 From: ajstanley Date: Fri, 31 Jan 2025 18:13:41 +0000 Subject: [PATCH] fixed variable names --- src/Form/DoiPrepopulateForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Form/DoiPrepopulateForm.php b/src/Form/DoiPrepopulateForm.php index fb3d63f..bfd2fd8 100644 --- a/src/Form/DoiPrepopulateForm.php +++ b/src/Form/DoiPrepopulateForm.php @@ -150,7 +150,7 @@ final class DoiPrepopulateForm extends FormBase { 'title' => $contents['title'][0], 'field_member_of' => $collection, 'type' => 'islandora_object', - 'field_contributor' => $typed_relations, + 'field_contributors' => $typed_relations, 'field_publisher' => $contents['publisher'] ?? '', 'field_doi' => $doi, 'field_genre' => $genre->id(),