From 84918e9997a4df62181f4b8e981d61360e006015 Mon Sep 17 00:00:00 2001 From: Marc Berger Date: Tue, 12 Sep 2023 15:52:11 -0700 Subject: [PATCH] feat: Change footer logo form from allowing 4 to allowing 2 --- .../modules/custom/ys_core/src/Form/FooterSettingsForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/profiles/custom/yalesites_profile/modules/custom/ys_core/src/Form/FooterSettingsForm.php b/web/profiles/custom/yalesites_profile/modules/custom/ys_core/src/Form/FooterSettingsForm.php index 0ccbad82c9..45f66a0c85 100644 --- a/web/profiles/custom/yalesites_profile/modules/custom/ys_core/src/Form/FooterSettingsForm.php +++ b/web/profiles/custom/yalesites_profile/modules/custom/ys_core/src/Form/FooterSettingsForm.php @@ -154,7 +154,7 @@ public function buildForm(array $form, FormStateInterface $form_state) { $form['footer_logos']['logos'] = [ '#type' => 'multivalue', '#title' => $this->t('Footer Logos'), - '#cardinality' => 4, + '#cardinality' => 2, '#default_value' => ($footerConfig->get('content.logos')) ? $footerConfig->get('content.logos') : [], 'logo' => [