-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrecipe.yml
120 lines (120 loc) · 3.29 KB
/
recipe.yml
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
name: 'Sous Admin'
description: 'A recipe that contains modules, themes, and configuration for the Sous administration experience.'
type: 'Site'
recipes:
# Install core recipes
- core/recipes/core_recommended_performance
- core/recipes/core_recommended_maintenance
install:
# Install core dependencies.
- node
- toolbar
- admin_toolbar
- admin_toolbar_search
- admin_toolbar_tools
# Install Config log.
- config_log
# Install Gin theme and base modules that extend it.
- gin
- gin_toolbar
# Install Entity Usuage
- entity_usage
# Install Field Group and dependencies
- field_group
# Install Field States UI
- field_states_ui
# Install Field UI
- field_ui
# Install Login Destination
- login_destination
# Install Login History
- login_history
# Install Media Library Edit
- media_library_edit
# Install Publication Date
- publication_date
# Install Save and Edit
- save_edit
# Install Views AJAX History
- views_ajax_history
# Install Views Bulk Operations
- views_bulk_operations
config:
import:
admin_toolbar: '*'
admin_toolbar_search: '*'
admin_toolbar_tools: '*'
gin:
- gin.settings
- block.block.gin_breadcrumbs
- block.block.gin_content
- block.block.gin_local_actions
- block.block.gin_messages
- block.block.gin_page_title
- block.block.gin_primary_local_tasks
- block.block.gin_secondary_local_tasks
login_destination:
- login_destination.destination.admins_and_editors_login_destination
actions:
# Update admin_toolbar settings
admin_toolbar.settings:
simple_config_update:
menu_depth: 3
# Update admin_toolbar_tools settings
admin_toolbar_tools.settings:
simple_config_update:
max_bundle_number: 3
hoverintent_functionality: false
# Set and unset Gin blocks.
block.block.gin_admin:
simple_config_update:
status: false
block.block.gin_branding:
simple_config_update:
status: false
block.block.gin_local_actions:
simple_config_update:
region: content
weight: -10
block.block.gin_local_tasks:
simple_config_update:
status: false
block.block.gin_page_title:
simple_config_update:
region: header
weight: -10
block.block.gin_primary_local_tasks:
simple_config_update:
region: header
weight: -5
block.block.gin_tools:
simple_config_update:
status: false
# Update entity_usage
entity_usage.settings:
simple_config_update:
track_enabled_base_fields: true
local_task_enabled_entity_types:
- media
# Update gin settings -
gin.settings:
simple_config_update:
preset_accent_color: 'green'
classic_toolbar: 'horizontal'
# Update login_destination settings
login_destination.settings:
simple_config_update:
preserve_destination: TRUE
# Update the node settings to use the admin theme.
node.settings:
simple_config_update:
use_admin_theme: true
# Update save_edit settings
save_edit.settings:
simple_config_update:
button_value: ''
button_weight: '-10'
# Update the admin theme to Gin in Theme settings.
system.theme:
simple_config_update:
admin: gin