-
Notifications
You must be signed in to change notification settings - Fork 0
/
recipe.yml
72 lines (70 loc) · 1.91 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
name: 'Gin Admin Experience'
description: 'Installs and configures the Gin admin theme and supporting modules.'
type: 'Site'
install:
# Install core dependencies.
- config
- help
# Install Claro as it is a dependency of Gin, but don't import config.
- claro
# Install Toolbar as it is a dependency of Gin Toolbar.
- toolbar
- admin_toolbar
- admin_toolbar_search
- admin_toolbar_tools
# Install Gin theme and base modules that extend it.
- gin
- gin_login
- gin_toolbar
config:
import:
# Import all of Admin Toolbar's modules config.
admin_toolbar: '*'
admin_toolbar_search: '*'
admin_toolbar_tools: '*'
# Import all of Gin and Gin Login's config.
# Gin Toolbar does not have any config.
gin:
- gin.settings
- block.block.gin_breadcrumbs
- block.block.gin_content
- block.block.gin_help
- block.block.gin_local_actions
- block.block.gin_messages
- block.block.gin_page_title
- block.block.gin_primary_local_tasks
gin_login: '*'
actions:
# 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
settings.secondary: true
block.block.gin_tools:
simple_config_update:
status: false
# Update the admin theme to Gin in Theme settings.
node.settings:
simple_config_update:
use_admin_theme: true
system.theme:
simple_config_update:
admin: gin