-
Notifications
You must be signed in to change notification settings - Fork 1
/
toolbar.php
63 lines (54 loc) · 1.77 KB
/
toolbar.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
return [
/*
|--------------------------------------------------------------------------
| Statamic Toolbar
|--------------------------------------------------------------------------
|
| The Toolbar is enabled by default, when app.debug is set to true.
| You can override this by setting true or false instead of null.
|
*/
'enabled' => env('STATAMIC_TOOLBAR_ENABLED', null),
/*
|--------------------------------------------------------------------------
| Components
|--------------------------------------------------------------------------
|
| Enable or disable Toolbar Components.
| Note that the Edit link (cp_link) only shows when logged in to Statamic
| or the app environment is set to local.
|
*/
'components' => [
'breakpoint' => true,
'site' => false,
'template' => true,
'cp_link' => true,
'visibility' => true,
],
/*
|--------------------------------------------------------------------------
| Breakpoints
|--------------------------------------------------------------------------
|
| If the breakpoint component is enabled, the Toolbar will attempt to get
| media queries from your CSS framework. But you can also define your
| breakpoints directly.
|
*/
'breakpoints' => [
// 'medium' => 640,
// 'large' => '(min-width: 1024px)'
],
/*
|--------------------------------------------------------------------------
| Route prefix
|--------------------------------------------------------------------------
|
| The Toolbar has to create a route to fetch frontend data. You can
| override the prefix (URL) if necessary.
|
*/
'route_prefix' => '_toolbar',
];