From 3ddbc92328f9fa03ebab38a988286b17f1a804b6 Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Thu, 9 Nov 2023 10:57:59 +1100 Subject: [PATCH] Added srtict types. --- civictheme_admin.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/civictheme_admin.module b/civictheme_admin.module index 042024b..5119b9b 100644 --- a/civictheme_admin.module +++ b/civictheme_admin.module @@ -10,7 +10,7 @@ use Drupal\Core\Form\FormStateInterface; /** * Implements hook_form_BASE_FORM_ID_alter(). */ -function civictheme_admin_form_node_form_alter(&$form, FormStateInterface $form_state) { +function civictheme_admin_form_node_form_alter(array &$form, FormStateInterface $form_state): void { // @see https://www.drupal.org/project/drupal/issues/3184667 // @see https://www.drupal.org/project/drupal/issues/3332416 $form['#attached']['library'][] = 'civictheme_admin/claro-node-form-overrides';