diff --git a/localgov_services.info.yml b/localgov_services.info.yml index 2f78d97..52d31bc 100644 --- a/localgov_services.info.yml +++ b/localgov_services.info.yml @@ -10,3 +10,5 @@ dependencies: - drupal:node - pathauto:pathauto - localgov_core:localgov_core +test_dependencies: + - localgov_search:localgov_search diff --git a/modules/localgov_services_navigation/src/EntityChildRelationshipUi.php b/modules/localgov_services_navigation/src/EntityChildRelationshipUi.php index 41697b3..e774b9c 100644 --- a/modules/localgov_services_navigation/src/EntityChildRelationshipUi.php +++ b/modules/localgov_services_navigation/src/EntityChildRelationshipUi.php @@ -139,8 +139,16 @@ public function formAlter(array &$form, FormStateInterface $form_state, $form_id $form['localgov_services_navigation_children'] = [ '#items' => $this->childrenField($node), '#theme' => 'item_list', - '#wrapper_attributes' => ['class' => 'localgov-services-children-list'], - '#attached' => ['library' => 'localgov_services_navigation/children'], + '#wrapper_attributes' => [ + 'class' => [ + 'localgov-services-children-list', + ], + ], + '#attached' => [ + 'library' => [ + 'localgov_services_navigation/children', + ], + ], '#title' => $this->t('Pages linking here'), ]; }