Skip to content
Snippets Groups Projects
Commit d27ff78d authored by Elliot Ward's avatar Elliot Ward
Browse files

Add Drupal 11 support. Drop Drupal 9 support. Require at least Drupal 10.2.

parent fc35820b
No related branches found
No related tags found
1 merge request!24Add Drupal 11 support. Drop Drupal 9 support.
Pipeline #284348 passed
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
"keywords": ["Drupal"], "keywords": ["Drupal"],
"minimum-stability": "dev", "minimum-stability": "dev",
"require": { "require": {
"drupal/core": "^9 || ^10", "drupal/core": "^10.2 || ^11"
"php": ">=8.1"
} }
} }
name: 'JSON:API Reference' name: 'JSON:API Reference'
type: module type: module
description: 'Provides a field for referencing remote data elements via JSON:API' description: 'Provides a field for referencing remote data elements via JSON:API'
core_version_requirement: ^9 || ^10 core_version_requirement: ^10.2 || ^11
package: 'Field types' package: 'Field types'
configure: jsonapi_reference.json_api_reference_config_form configure: jsonapi_reference.json_api_reference_config_form
...@@ -19,7 +19,7 @@ use Drupal\jsonapi_reference\JsonApiClientInterface; ...@@ -19,7 +19,7 @@ use Drupal\jsonapi_reference\JsonApiClientInterface;
* id = "typed_resource_object", * id = "typed_resource_object",
* label = @Translation("Typed resource object"), * label = @Translation("Typed resource object"),
* description = @Translation("Field to represent a resource object in a remote system with a specific type."), * description = @Translation("Field to represent a resource object in a remote system with a specific type."),
* category = @Translation("Reference"), * category = "reference",
* default_formatter = "typed_resource_object_string", * default_formatter = "typed_resource_object_string",
* default_widget = "typed_resource_object_autocomplete" * default_widget = "typed_resource_object_autocomplete"
* ) * )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment