-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrecipe.yml
79 lines (79 loc) · 2.38 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
name: 'Saplings - Theme recipe'
description: 'Configures Saplings Child theme and dependent modules and UI Bootstrap base theme.'
type: 'Site'
install:
# Core.
- help
# Contrib.
- block_class
- ds
- ds_extras
- field_group
- layout_options
- menu_bootstrap_icon
- saplings_child
- twig_tweak
- ui_patterns
- ui_patterns_ds
- ui_patterns_field_formatters
- ui_patterns_field_group
- ui_patterns_layouts
- ui_patterns_library
- ui_patterns_settings
- ui_skins
- ui_styles
- ui_suite_bootstrap
config:
strict: false
import:
# Only Display suite has config.
ds: "*"
# Import blocks that Stark does not automatically create below.
saplings_child:
- block.block.saplings_child_breadcrumbs
- block.block.saplings_child_content
- block.block.saplings_child_footer
- block.block.saplings_child_help
- block.block.saplings_child_mainnavigation
- block.block.saplings_child_main_menu
- block.block.saplings_child_messages
- block.block.saplings_child_page_title
- block.block.saplings_child_sitebranding_footer
actions:
# Allow Display Suite on fields and Layouts.
ds.settings:
simpleConfigUpdate:
field_template: true
ft-layout-builder: true
# When a theme is enabled in Drupal, the blocks of the existing theme are
# automaticaly duplicated. In our case, on minimal, the theme is Stark.
# We set the blocks we don't want to false, and alter the config of the
# blocks that were created.
block.block.saplings_child_admin:
setStatus: false
block.block.saplings_child_branding:
setRegion: navigation
setWeight: 0
block.block.saplings_child_local_actions:
setRegion: header
setWeight: 20
block.block.saplings_child_local_tasks:
setRegion: header
setWeight: 10
block.block.saplings_child_page_title:
setStatus: true
setRegion: content
setWeight: -30
simpleConfigUpdate:
visibility.request_path.id: request_path
visibility.request_path.negate: false
visibility.request_path.pages: '/user/*'
block.block.saplings_child_tools:
setStatus: false
# Set the default theme.
system.theme:
simpleConfigUpdate:
default: saplings_child
# Allow anonymous users to access patterns page.
user.role.anonymous:
grantPermission: 'access patterns page'