Skip to content
Snippets Groups Projects

Draft: Resolve #3522497 "Deprecation poc"

Open godotislate requested to merge issue/drupal-3522497:3522497-deprecation-poc into 11.x
Files
135
@@ -53,7 +53,8 @@ mapping:
constraints:
# By default, allow the explicitly listed mapping keys, and require their
# presence unless `requiredKey: false` is specified.
ValidKeys: '<infer>'
ValidKeys:
allowedKeys: '<infer>'
sequence:
label: Sequence
class: '\Drupal\Core\Config\Schema\Sequence'
@@ -191,13 +192,16 @@ _core_config_info:
label: 'Default configuration hash'
constraints:
NotNull: []
Regex: '/^[a-zA-Z0-9\-_]+$/'
Regex:
pattern: '/^[a-zA-Z0-9\-_]+$/'
# The hash is a base64-encoded version of the config's SHA-256 hash. Given
# the deterministic length of a SHA-256 hash, and the way base64 encoding
# works, this is always going to be 43 characters long.
Length: 43
Length:
exactly: 43
constraints:
ValidKeys: ['default_config_hash']
ValidKeys:
allowedKeys: ['default_config_hash']
config_object:
type: mapping
@@ -373,7 +377,8 @@ config_dependencies_base:
constraints:
NotBlank: []
ExtensionName: []
ExtensionExists: module
ExtensionExists:
type: module
theme:
# All dependency keys are optional: this might not depend on any themes.
requiredKey: false
@@ -384,9 +389,11 @@ config_dependencies_base:
constraints:
NotBlank: []
ExtensionName: []
ExtensionExists: theme
ExtensionExists:
type: theme
constraints:
ValidKeys: '<infer>'
ValidKeys:
allowedKeys: '<infer>'
config_dependencies:
type: config_dependencies_base
@@ -398,7 +405,8 @@ config_dependencies:
type: config_dependencies_base
label: 'Enforced configuration dependencies'
constraints:
ValidKeys: '<infer>'
ValidKeys:
allowedKeys: '<infer>'
config_entity:
type: mapping
@@ -453,7 +461,8 @@ block_settings:
constraints:
NotBlank: []
ExtensionName: []
ExtensionExists: module
ExtensionExists:
type: module
context_mapping:
requiredKey: false
type: sequence
@@ -547,7 +556,8 @@ field_config_base:
type: string
label: 'Bundle'
constraints:
EntityBundleExists: '%parent.entity_type'
EntityBundleExists:
entityTypeId: '%parent.entity_type'
label:
type: required_label
label: 'Label'
Loading