generated from ostark/craft-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.example.php
45 lines (38 loc) · 1.1 KB
/
config.example.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
/**
* Relax Plugin Configuration
*
* You can see all the available settings and defaults in
* vendor/ostark/craft-relax/src/PluginSettings.php.
*
* @see \ostark\Relax\PluginSettings
*/
use craft\helpers\App;
return [
/**
* Deprecation logging
*
* App::env('ENVIRONMENT') !== 'dev' means:
* no deprecation logging in non-dev environments
* (bool) false - the default behaviour of Craft: log to deprecations table
*/
'muteDeprecations' => App::env('ENVIRONMENT') !== 'dev',
/**
* Queue
*
* (bool) true means: Use the queue the plugin provides
* (bool) false means: Use the default queue behaviour of Craft
*/
// 'hashedQueue' => false,
/**
* Search index inserts
*
* By default these filters are applied
* @see ostark\Relax\SearchIndex\InsertFilter\UselessAttributes
* @see ostark\Relax\SearchIndex\InsertFilter\UselessKeywords
*
* Define your own filters to adjust the opinionated filters of the plugin.
* An empty array disables all filters.
*/
// 'searchIndexInsertFilter' => [],
];