Problem/Motivation
vendor/bin/drush config:inspect --filter-keys=user.settings --detail --list-constraints
➜ 🤖 Analyzing…
Legend for Data:
✅❓ → Correct primitive type, detailed validation impossible.
✅✅ → Correct primitive type, passed all validation constraints.
----------------------------------------------------- --------- ------------- ------ ---------------------------------------------------------------------------------------------
Key Status Validatable Data Validation constraints
----------------------------------------------------- --------- ------------- ------ ---------------------------------------------------------------------------------------------
user.settings Correct 84% ✅❓ ValidKeys: '<infer>'
user.settings: Correct Validatable ✅✅ ValidKeys: '<infer>'
user.settings:_core Correct Validatable ✅✅ ValidKeys:
- default_config_hash
user.settings:_core.default_config_hash Correct Validatable ✅✅ NotNull: { }
Regex: '/^[a-zA-Z0-9\-_]+$/'
Length: 43
↣ PrimitiveType: { }
user.settings:anonymous Correct Validatable ✅✅ Regex:
pattern: '/([^\PC])/u'
match: false
message: 'Labels are not allowed to span multiple lines or contain control characters.'
NotBlank: { }
↣ PrimitiveType: { }
user.settings:cancel_method Correct NOT ✅❓ ⚠️ @todo Add validation constraints here
user.settings:langcode Correct Validatable ✅✅ NotNull: { }
Choice:
callback: 'Drupal\Core\TypedData\Plugin\DataType\LanguageReference::getAllValidLangcodes'↣ PrimitiveType: { }
user.settings:notify Correct Validatable ✅✅ ValidKeys: '<infer>'
user.settings:notify.cancel_confirm Correct Validatable ✅✅ ↣ PrimitiveType: { }
user.settings:notify.password_reset Correct Validatable ✅✅ ↣ PrimitiveType: { }
user.settings:notify.register_admin_created Correct Validatable ✅✅ ↣ PrimitiveType: { }
user.settings:notify.register_no_approval_required Correct Validatable ✅✅ ↣ PrimitiveType: { }
user.settings:notify.register_pending_approval Correct Validatable ✅✅ ↣ PrimitiveType: { }
user.settings:notify.status_activated Correct Validatable ✅✅ ↣ PrimitiveType: { }
user.settings:notify.status_blocked Correct Validatable ✅✅ ↣ PrimitiveType: { }
user.settings:notify.status_canceled Correct Validatable ✅✅ ↣ PrimitiveType: { }
user.settings:password_reset_timeout Correct NOT ✅❓ ⚠️ @todo Add validation constraints here
user.settings:password_strength Correct Validatable ✅✅ ↣ PrimitiveType: { }
user.settings:register Correct NOT ✅❓ ⚠️ @todo Add validation constraints here
user.settings:verify_mail Correct Validatable ✅✅ ↣ PrimitiveType: { }
----------------------------------------------------- --------- ------------- ------ ---------------------------------------------------------------------------------------------
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet