From 5eea0bd63bd63f452f318872fa95a52828d9eca2 Mon Sep 17 00:00:00 2001 From: Gert van den Buijs Date: Thu, 29 Oct 2020 12:06:12 +0100 Subject: [PATCH] [TASK] Support Drupal 9 --- iso3166.info.yml | 4 ++-- src/Plugin/iso3166/Continent/ContinentPluginBase.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iso3166.info.yml b/iso3166.info.yml index bc72c48..f48e7fc 100644 --- a/iso3166.info.yml +++ b/iso3166.info.yml @@ -1,6 +1,6 @@ name: ISO3611 type: module description: Provide country and continent plugins based on ISO3611 data. -core: 8.x -package: ISO3611 +core_version_requirement: ^8.8 || ^9 +package: Field types version: 8.x-1.0 diff --git a/src/Plugin/iso3166/Continent/ContinentPluginBase.php b/src/Plugin/iso3166/Continent/ContinentPluginBase.php index 56bc9fc..96aa431 100644 --- a/src/Plugin/iso3166/Continent/ContinentPluginBase.php +++ b/src/Plugin/iso3166/Continent/ContinentPluginBase.php @@ -32,7 +32,7 @@ abstract class ContinentPluginBase extends PluginBase implements ContinentPlugin * The continent factory. */ public function __construct(array $configuration, $pluginId, $pluginDefinition, ContinentFactory $continentFactory) { - parent::__construct($configuration, $pluginId, $pluginDefinition, $continentFactory); + parent::__construct($configuration, $pluginId, $pluginDefinition); $this->continentFactory = $continentFactory; }