From 4e5d90444ebe890bdf9b86388bd78f050fce121d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Gu=CC=88nther?= Date: Wed, 23 Nov 2022 10:52:32 +0100 Subject: [PATCH] Add new option to README, update composer.json --- README.md | 14 ++++++++++++++ composer.json | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dd2df0a..7549502 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,20 @@ return [ ]; ``` +### Exclude Module Blueprints + +By default, all modules will be available in the "Add page" modal. +You can exclude certain modules in your `site/config/config.php`: + +```php +return [ + 'medienbaecker.modules.exclude' => [ + 'hero', + 'anotherForbiddenModule' + ] +]; +``` + ### Autopublish Modules You can turn on automatic publishing for modules in your `site/config/config.php`: diff --git a/composer.json b/composer.json index 6ee863d..4c8dbb4 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "medienbaecker/kirby-modules", "description": "Easily add modules to your pages", - "version": "2.3.1", + "version": "2.4.0", "license": "MIT", "authors": [ {