[meta] Add constraints to all config entity types

Created on 14 April 2017, about 7 years ago
Updated 21 June 2024, 7 days ago

Problem/Motivation

Sibling issue for simple config: 🌱 [meta] Add constraints to all simple configuration Active .

Now that we have the possibilities to validate configuration we should do that.
This meta issue is about adding constrains to all config entities, so we can use that in JSON:API as well as in configuration entity forms.

The current list of config entity types in core:

  1. core.base_field_override.*.*.*: 📌 [PP-1] Convert field_storage_config and field_config's form validation logic to validation constraints Postponed
  2. field.field.*.*.*: 📌 [PP-1] Convert field_storage_config and field_config's form validation logic to validation constraints Postponed
  3. ✅ core.date_format.*: 📌 Add validation constraints to core.date_format.* RTBC
  4. core.entity_view_mode.*.*: 📌 Add validation constraints to core.entity_view_mode.*.* Needs work
  5. core.entity_view_display.*.*.*
  6. core.entity_form_mode.*.*: 📌 Add validation constraints to core.entity_form_mode.*.* Needs work
  7. core.entity_form_display.*.*.*
  8. block.block.*: 📌 Fix Block config entity type config schema violations: weight, property Postponed
  9. ✅block_content.type.*: 📌 Add validation constraints to block_content.type.* Needs work
  10. comment.type.*: 📌 Add validation constraints to comment.type.* Active
  11. contact.form.*: 📌 Add validation constraints to contact.form.* Needs work
  12. ✅ editor.editor.*: ✨ [PP-1] Mark parts of CKEditor 5 and Editor config schema as fully validatable Postponed
  13. field.storage.*.*: 📌 [PP-1] Convert field_storage_config and field_config's form validation logic to validation constraints Postponed
  14. filter.format.*: 📌 [PP-2] Make FilterFormat config entities fully validatable Postponed
  15. ✅ image.style.*: 📌 Add validation constraints to image.style.* Fixed
  16. language.entity.*
  17. language.content_settings.*.*
  18. ✅ node.type.*: 📌 [PP-1] Make NodeType config entities fully validatable Needs review
  19. responsive_image.styles.*
  20. rest.resource.*
  21. search.page.*: 📌 Add validation constraints to search.page.* RTBC
  22. ✅ shortcut.set.* — see #3324984-35: Create test that reports % of config entity types (and config schema types) that is validatable →
  23. ✅ system.menu.* — see #3324984-35: Create test that reports % of config entity types (and config schema types) that is validatable →
  24. system.action.*: 📌 Add validation constraints to system.action.* Needs work
  25. ✅ taxonomy.vocabulary.*: 📌 Allow vocabularies to be validated via the API, not just during form submissions RTBC
  26. user.role.*: 📌 Add validation constraints to user.role.* Needs review
  27. views.view.*
  28. workflows.workflow.*: 📌 Add config validation for workflow entities. Active

Total: 8/28=29%
Standard: 8/23=35%

Last updated: May 28, 2024.

Related issues

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🌱 Plan
Status

Active

Version

11.0 🔥

Component
Configuration entity  →

Last updated about 14 hours ago

Created by

🇩🇪Germany dawehner

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024