From a0acaafdf04a80e3745c13c58724636f0c58d0aa Mon Sep 17 00:00:00 2001 From: thomas <thomas.musa@emerya.fr> Date: Fri, 1 Oct 2021 17:53:45 +0200 Subject: [PATCH] compability D9 --- composer.json | 22 ++++++++++++++++++++++ views_search_snippet.info.yml | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 composer.json diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..5bfb7e6 --- /dev/null +++ b/composer.json @@ -0,0 +1,22 @@ +{ + "name": "drupal/views_search_snippet", + "type": "drupal-module", + "description": "Views search snippet", + "keywords": [ + "Drupal" + ], + "license": "GPL-2.0-or-later", + "homepage": "https://www.drupal.org/project/views_search_snippet", + "support": { + "issues": "https://www.drupal.org/project/issues/views_search_snippet", + "source": "https://git.drupalcode.org/project/views_search_snippet" + }, + "repositories": { + "packages.drupal": { + "type": "composer", + "url": "https://packages.drupal.org/9" + } + }, + "minimum-stability": "dev", + "suggest": {} +} diff --git a/views_search_snippet.info.yml b/views_search_snippet.info.yml index 8cdf5f8..0f74704 100644 --- a/views_search_snippet.info.yml +++ b/views_search_snippet.info.yml @@ -1,8 +1,9 @@ name: Views Search Snippet description: A snippet from the content with search keywords highlighted. This will not be used if the search filter is not also present. -core: 8.x +core_version_requirement: ^8.8 || ^9 type: module package: Views dependencies: - views - search + -- GitLab