The DomainAccessCondition condition plugin (id: domain_access) declares a domains configuration key in its defaultConfiguration() method, but has no corresponding config schema entry in domain_access.schema.yml.
The parent domain module correctly declares condition.plugin.domain in domain.schema.yml, but the equivalent entry for condition.plugin.domain_access is missing.
Steps to reproduce
- Enable the
domain_accessmodule. - Place a block with a
Domain Accessvisibility condition and select some domains. - Run config schema validation — the
domainskey is flagged as unknown.
Proposed fix
Add the following to domain_access/config/schema/domain_access.schema.yml:
condition.plugin.domain_access:
type: condition.plugin
mapping:
domains:
type: sequence
sequence:
type: machine_name
Issue fork domain-3576137
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
mably commentedComment #5
mably commented