From 1c453bbfde37cd368fcc001228de863979bf295f Mon Sep 17 00:00:00 2001 From: Tim Diels <41869-timdiels1@users.noreply.drupalcode.org> Date: Mon, 27 Jan 2025 17:48:02 +0100 Subject: [PATCH 1/2] Remove dependency to gin_toolbar --- README.md | 6 ++---- composer.json | 4 ++-- gin_toolbar_local_tasks.info.yml | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0b889f6..ccd695a 100644 --- a/README.md +++ b/README.md @@ -9,13 +9,11 @@ ## Introduction -Helper module to bring the Local Tasks to the Gin toolbar. +Helper module to bring the Local Tasks to the Drupal toolbar. ## Requirements -This module requires the following modules: - -- Requires [Gin Toolbar](https://www.drupal.org/project/gin_toolbar) +This module requires no additional modules. ## Installation diff --git a/composer.json b/composer.json index 234206b..5873666 100644 --- a/composer.json +++ b/composer.json @@ -14,8 +14,8 @@ "issues": "https://www.drupal.org/project/issues/gin_toolbar_local_tasks", "source": "https://git.drupalcode.org/project/gin_toolbar_local_tasks" }, - "require": { - "drupal/gin_toolbar": "^1.0" + "suggests": { + "drupal/gin_toolbar": "Only needed when wanting to use the local tasks in combination with the gin toolbar in the frontend." }, "license": "GPL-2.0-or-later", "minimum-stability": "dev" diff --git a/gin_toolbar_local_tasks.info.yml b/gin_toolbar_local_tasks.info.yml index 9579498..44e151b 100644 --- a/gin_toolbar_local_tasks.info.yml +++ b/gin_toolbar_local_tasks.info.yml @@ -6,4 +6,4 @@ type: module core_version_requirement: ^10 || ^11 dependencies: - - gin_toolbar:gin_toolbar + - drupal:toolbar -- GitLab From 09bebdf9e38801b257546b75303a42124af8cde7 Mon Sep 17 00:00:00 2001 From: Tim Diels <41869-timdiels1@users.noreply.drupalcode.org> Date: Mon, 27 Jan 2025 17:58:27 +0100 Subject: [PATCH 2/2] Fix composer typo --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5873666..ed52102 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "issues": "https://www.drupal.org/project/issues/gin_toolbar_local_tasks", "source": "https://git.drupalcode.org/project/gin_toolbar_local_tasks" }, - "suggests": { + "suggest": { "drupal/gin_toolbar": "Only needed when wanting to use the local tasks in combination with the gin toolbar in the frontend." }, "license": "GPL-2.0-or-later", -- GitLab