1,14c1,26 < diff --git a/eu_cookie_compliance_gtm.info.yml b/eu_cookie_compliance_gtm.info.yml < index fab52e3..bcebe5b 100644 < --- a/eu_cookie_compliance_gtm.info.yml < +++ b/eu_cookie_compliance_gtm.info.yml < @@ -1,8 +1,7 @@ < name: 'EU Cookie Compliance GTM' < type: module < description: 'Integrate cookie compliance with Google Tag Manager.' < -core: 8.x < -core_version_requirement: ^8 || ^9 < +core_version_requirement: ^8 || ^9 || ^10 < package: 'User interface' < dependencies: < - eu_cookie_compliance --- > diff --git a/eu_cookie_compliance_gtm.module b/eu_cookie_compliance_gtm.module > index aa3d9b0..c0ecf4c 100644 > --- a/eu_cookie_compliance_gtm.module > +++ b/eu_cookie_compliance_gtm.module > @@ -54,7 +54,7 @@ function eu_cookie_compliance_gtm_cookie_category_load(array $entities) { > /** >  * Handles the form alter for the category form. >  */ > -function eu_cookie_compliance_gtm_alter_category_form(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) { > +function eu_cookie_compliance_gtm_alter_category_form(&$form, FormStateInterface $form_state, $form_id) { > $category = $form_state->getFormObject()->getEntity(); > $form['gtm_data'] = array( > '#type' => 'textarea', > diff --git a/tests/src/Functional/LoadTest.php b/tests/src/Functional/LoadTest.php > index 691bf0b..588812c 100644 > --- a/tests/src/Functional/LoadTest.php > +++ b/tests/src/Functional/LoadTest.php > @@ -29,7 +29,7 @@ class LoadTest extends BrowserTestBase { > /** > * {@inheritdoc} > */ > - protected function setUp() { > + protected function setUp(): void { > parent::setUp(); > $this->user = $this->drupalCreateUser(['administer site configuration']); > $this->drupalLogin($this->user);