Skip to content

Commit 4e5d904

Browse files
committed
Add new option to README, update composer.json
1 parent 600eca4 commit 4e5d904

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,20 @@ return [
108108
];
109109
```
110110

111+
### Exclude Module Blueprints
112+
113+
By default, all modules will be available in the "Add page" modal.
114+
You can exclude certain modules in your `site/config/config.php`:
115+
116+
```php
117+
return [
118+
'medienbaecker.modules.exclude' => [
119+
'hero',
120+
'anotherForbiddenModule'
121+
]
122+
];
123+
```
124+
111125
### Autopublish Modules
112126

113127
You can turn on automatic publishing for modules in your `site/config/config.php`:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "medienbaecker/kirby-modules",
33
"description": "Easily add modules to your pages",
4-
"version": "2.3.1",
4+
"version": "2.4.0",
55
"license": "MIT",
66
"authors": [
77
{

0 commit comments

Comments
 (0)