Initial Drupal 11 with DDEV setup
This commit is contained in:
6
web/core/tests/fixtures/recipes/base_theme_and_views/recipe.yml
vendored
Normal file
6
web/core/tests/fixtures/recipes/base_theme_and_views/recipe.yml
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
name: 'Base theme and views'
|
||||
type: 'Testing'
|
||||
install:
|
||||
- test_subsubtheme
|
||||
- node
|
||||
- views
|
||||
13
web/core/tests/fixtures/recipes/config_actions/recipe.yml
vendored
Normal file
13
web/core/tests/fixtures/recipes/config_actions/recipe.yml
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
name: 'Config actions'
|
||||
type: 'Testing'
|
||||
install:
|
||||
- config_test
|
||||
config:
|
||||
actions:
|
||||
config_test.dynamic.recipe:
|
||||
createIfNotExists:
|
||||
label: 'Created by recipe'
|
||||
setProtectedProperty: 'Set by recipe'
|
||||
config_test.system:
|
||||
simpleConfigUpdate:
|
||||
foo: 'not bar'
|
||||
@ -0,0 +1,9 @@
|
||||
name: Recipe with direct dependency present
|
||||
type: 'Testing'
|
||||
install:
|
||||
- node
|
||||
config:
|
||||
actions:
|
||||
node.settings:
|
||||
simpleConfigUpdate:
|
||||
use_admin_theme: true
|
||||
@ -0,0 +1,9 @@
|
||||
name: Recipe with first level indirect dependency
|
||||
type: 'Testing'
|
||||
recipes:
|
||||
- level_2
|
||||
config:
|
||||
actions:
|
||||
node.settings:
|
||||
simpleConfigUpdate:
|
||||
use_admin_theme: true
|
||||
@ -0,0 +1,9 @@
|
||||
name: Recipe with second level indirect dependency
|
||||
type: 'Testing'
|
||||
recipes:
|
||||
- level_1
|
||||
config:
|
||||
actions:
|
||||
node.settings:
|
||||
simpleConfigUpdate:
|
||||
use_admin_theme: true
|
||||
4
web/core/tests/fixtures/recipes/config_actions_dependency_validation/level_1/recipe.yml
vendored
Normal file
4
web/core/tests/fixtures/recipes/config_actions_dependency_validation/level_1/recipe.yml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
name: First level sub recipe
|
||||
type: 'Testing'
|
||||
recipes:
|
||||
- level_2
|
||||
4
web/core/tests/fixtures/recipes/config_actions_dependency_validation/level_2/recipe.yml
vendored
Normal file
4
web/core/tests/fixtures/recipes/config_actions_dependency_validation/level_2/recipe.yml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
name: Second level sub recipe
|
||||
type: 'Testing'
|
||||
install:
|
||||
- node
|
||||
9
web/core/tests/fixtures/recipes/config_from_module/recipe.yml
vendored
Normal file
9
web/core/tests/fixtures/recipes/config_from_module/recipe.yml
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
name: 'Config from module'
|
||||
type: 'Testing'
|
||||
install:
|
||||
- config_test
|
||||
config:
|
||||
import:
|
||||
config_test:
|
||||
- config_test.dynamic.dotted.default
|
||||
- config_test.dynamic.override
|
||||
@ -0,0 +1,6 @@
|
||||
id: dotted.default
|
||||
label: 'Provided by recipe'
|
||||
weight: 0
|
||||
protected_property: Default
|
||||
# Intentionally commented out to verify default status behavior.
|
||||
# status: 1
|
||||
2
web/core/tests/fixtures/recipes/config_from_module_and_recipe/config/config_test.system.yml
vendored
Normal file
2
web/core/tests/fixtures/recipes/config_from_module_and_recipe/config/config_test.system.yml
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
foo: bar
|
||||
404: foo
|
||||
11
web/core/tests/fixtures/recipes/config_from_module_and_recipe/recipe.yml
vendored
Normal file
11
web/core/tests/fixtures/recipes/config_from_module_and_recipe/recipe.yml
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
name: 'Config from module and recipe'
|
||||
type: 'Testing'
|
||||
install:
|
||||
- config_test
|
||||
- shortcut
|
||||
- system
|
||||
config:
|
||||
import:
|
||||
config_test: '*'
|
||||
shortcut:
|
||||
- shortcut.set.default
|
||||
19
web/core/tests/fixtures/recipes/config_rollback_exception/recipe.yml
vendored
Normal file
19
web/core/tests/fixtures/recipes/config_rollback_exception/recipe.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: Config rollback exception
|
||||
install:
|
||||
- filter
|
||||
- media
|
||||
config:
|
||||
import:
|
||||
filter: '*'
|
||||
media: '*'
|
||||
actions:
|
||||
filter.format.plain_text:
|
||||
setFilterConfig:
|
||||
instance_id: media_embed
|
||||
configuration: []
|
||||
system.image:
|
||||
# This will cause a validation error, which will trigger a rollback.
|
||||
# The rollback should fail, since the Media module can't be uninstalled
|
||||
# now that the plain_text format is using one of its filters.
|
||||
simpleConfigUpdate:
|
||||
non_existent_key: whatever!
|
||||
10
web/core/tests/fixtures/recipes/config_wildcard/recipe.yml
vendored
Normal file
10
web/core/tests/fixtures/recipes/config_wildcard/recipe.yml
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
name: 'Config wildcard'
|
||||
type: 'Testing'
|
||||
install:
|
||||
- config_test
|
||||
- shortcut
|
||||
- system
|
||||
config:
|
||||
import:
|
||||
config_test: '*'
|
||||
shortcut: ~
|
||||
45
web/core/tests/fixtures/recipes/input_test/recipe.yml
vendored
Normal file
45
web/core/tests/fixtures/recipes/input_test/recipe.yml
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
name: Input Test
|
||||
recipes:
|
||||
# Depend on another recipe in order to prove that we can collect input
|
||||
# from recipes that depend on other recipes.
|
||||
- no_extensions
|
||||
install:
|
||||
- node
|
||||
input:
|
||||
owner:
|
||||
data_type: string
|
||||
description: 'The name of the site owner.'
|
||||
constraints:
|
||||
Regex:
|
||||
pattern: '/hack/i'
|
||||
match: false
|
||||
message: "I don't think you should be owning sites."
|
||||
form:
|
||||
'#type': textfield
|
||||
'#title': "Site owner's name"
|
||||
default:
|
||||
source: value
|
||||
value: 'Dries Buytaert'
|
||||
break_stuff:
|
||||
data_type: boolean
|
||||
description: 'Should mischief be allowed on this site? Not recommended.'
|
||||
form:
|
||||
'#type': checkbox
|
||||
'#title': 'Allow mischief'
|
||||
default:
|
||||
source: value
|
||||
value: false
|
||||
node_type:
|
||||
data_type: string
|
||||
description: 'The ID of a node type to create'
|
||||
default:
|
||||
source: value
|
||||
value: 'test'
|
||||
config:
|
||||
actions:
|
||||
node.type.${node_type}:
|
||||
createIfNotExists:
|
||||
name: Test Content Type
|
||||
system.site:
|
||||
simpleConfigUpdate:
|
||||
name: "${owner}'s Turf"
|
||||
1
web/core/tests/fixtures/recipes/install_node_with_config/config/node.settings.yml
vendored
Normal file
1
web/core/tests/fixtures/recipes/install_node_with_config/config/node.settings.yml
vendored
Normal file
@ -0,0 +1 @@
|
||||
use_admin_theme: false
|
||||
9
web/core/tests/fixtures/recipes/install_node_with_config/config/node.type.test.yml
vendored
Normal file
9
web/core/tests/fixtures/recipes/install_node_with_config/config/node.type.test.yml
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
langcode: en
|
||||
status: true
|
||||
name: 'Test content type'
|
||||
type: test
|
||||
description: 'Test content type from a recipe'
|
||||
help: null
|
||||
new_revision: true
|
||||
preview_mode: 1
|
||||
display_submitted: true
|
||||
5
web/core/tests/fixtures/recipes/install_node_with_config/recipe.yml
vendored
Normal file
5
web/core/tests/fixtures/recipes/install_node_with_config/recipe.yml
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
name: 'Install node with config'
|
||||
type: 'Content type'
|
||||
install:
|
||||
- node
|
||||
- drupal:text
|
||||
5
web/core/tests/fixtures/recipes/install_two_modules/recipe.yml
vendored
Normal file
5
web/core/tests/fixtures/recipes/install_two_modules/recipe.yml
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
name: 'Install two modules'
|
||||
type: 'Content type'
|
||||
install:
|
||||
- node
|
||||
- text
|
||||
14
web/core/tests/fixtures/recipes/invalid_config/config/core.date_format.invalid.yml
vendored
Normal file
14
web/core/tests/fixtures/recipes/invalid_config/config/core.date_format.invalid.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
# Depend on the valid date format in order to ensure it is imported first,
|
||||
# which means we can ensure it was rolled back when this date format raises
|
||||
# a validation error.
|
||||
- core.date_format.valid
|
||||
id: invalid
|
||||
# Null isn't a valid value for the label, so this should raise a validation
|
||||
# error.
|
||||
label: null
|
||||
locked: false
|
||||
pattern: 'j F Y'
|
||||
7
web/core/tests/fixtures/recipes/invalid_config/config/core.date_format.valid.yml
vendored
Normal file
7
web/core/tests/fixtures/recipes/invalid_config/config/core.date_format.valid.yml
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: valid
|
||||
label: 'Valid date format'
|
||||
locked: false
|
||||
pattern: 'j F Y'
|
||||
2
web/core/tests/fixtures/recipes/invalid_config/recipe.yml
vendored
Normal file
2
web/core/tests/fixtures/recipes/invalid_config/recipe.yml
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
name: 'Invalid config'
|
||||
type: 'Testing'
|
||||
3
web/core/tests/fixtures/recipes/no_extensions/recipe.yml
vendored
Normal file
3
web/core/tests/fixtures/recipes/no_extensions/recipe.yml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
name: 'No extensions'
|
||||
description: 'A recipe description'
|
||||
type: 'Testing'
|
||||
4
web/core/tests/fixtures/recipes/recipe_depend_on_invalid/recipe.yml
vendored
Normal file
4
web/core/tests/fixtures/recipes/recipe_depend_on_invalid/recipe.yml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
name: 'Recipe depending on an invalid recipe'
|
||||
type: 'Testing'
|
||||
recipes:
|
||||
- invalid_config
|
||||
5
web/core/tests/fixtures/recipes/recipe_depend_on_invalid_config_and_valid_modules/recipe.yml
vendored
Normal file
5
web/core/tests/fixtures/recipes/recipe_depend_on_invalid_config_and_valid_modules/recipe.yml
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
name: 'Recipe depending on first installing modules, then a recipe with invalid config'
|
||||
type: 'Testing'
|
||||
recipes:
|
||||
- install_two_modules
|
||||
- invalid_config
|
||||
9
web/core/tests/fixtures/recipes/recipe_include/config/node.type.another_test.yml
vendored
Normal file
9
web/core/tests/fixtures/recipes/recipe_include/config/node.type.another_test.yml
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
langcode: en
|
||||
status: true
|
||||
name: 'Another test content type'
|
||||
type: another_test
|
||||
description: 'Another test content type from a recipe'
|
||||
help: null
|
||||
new_revision: true
|
||||
preview_mode: 1
|
||||
display_submitted: true
|
||||
6
web/core/tests/fixtures/recipes/recipe_include/recipe.yml
vendored
Normal file
6
web/core/tests/fixtures/recipes/recipe_include/recipe.yml
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
name: 'Recipe include'
|
||||
type: 'Testing'
|
||||
recipes:
|
||||
- install_node_with_config
|
||||
install:
|
||||
- dblog
|
||||
5
web/core/tests/fixtures/recipes/theme_with_module_dependencies/recipe.yml
vendored
Normal file
5
web/core/tests/fixtures/recipes/theme_with_module_dependencies/recipe.yml
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
name: 'Theme with module dependencies'
|
||||
type: 'Testing'
|
||||
install:
|
||||
- test_theme_depending_on_modules
|
||||
- test_module_required_by_theme
|
||||
12
web/core/tests/fixtures/recipes/unmet_config_dependencies/config/node.type.test.yml
vendored
Normal file
12
web/core/tests/fixtures/recipes/unmet_config_dependencies/config/node.type.test.yml
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
langcode: en
|
||||
status: true
|
||||
name: 'Test content type'
|
||||
type: test
|
||||
description: 'Test content type from a recipe'
|
||||
help: null
|
||||
new_revision: true
|
||||
preview_mode: 1
|
||||
display_submitted: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.date_format.non_existent
|
||||
2
web/core/tests/fixtures/recipes/unmet_config_dependencies/recipe.yml
vendored
Normal file
2
web/core/tests/fixtures/recipes/unmet_config_dependencies/recipe.yml
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
name: 'Unmet config dependencies'
|
||||
type: 'Testing'
|
||||
Reference in New Issue
Block a user