Skip to content

#5595: Add enforce_prop_schemas to az_barrio.#5603

Draft
joeparsons wants to merge 1 commit into
mainfrom
issue/5595-info-file
Draft

#5595: Add enforce_prop_schemas to az_barrio.#5603
joeparsons wants to merge 1 commit into
mainfrom
issue/5595-info-file

Conversation

@joeparsons

@joeparsons joeparsons commented May 13, 2026

Copy link
Copy Markdown
Member

Description

See https://www.drupal.org/docs/develop/theming-drupal/using-single-directory-components/creating-a-single-directory-component#s-note-about-creating-the-schema

Note about creating the schema

Creating a schema within your my-component.component.yml is mandatory for modules, but optional for themes. However it’s highly recommended to do so. Benefits include:

Only components that have schemas can override other components.
Using schemas will illuminate problems with your components earlier.
Schemas will enable contributed modules (and maybe eventually core) to automatically generate forms to populate the component.
Note you can force all components within your theme to require schemas by adding the following to your themename.info.yml.

enforce_prop_schemas: true

Release notes

Related issues

How to test

Types of changes

Arizona Quickstart (install profile, custom modules, custom theme)

  • Patch release changes
    • Bug fix
    • Accessibility, performance, or security improvement
    • Critical institutional link or brand change
    • Adding experimental module
    • Update experimental module
  • Minor release changes
    • New feature
    • Breaking or visual change to existing behavior
    • Upgrade experimental module to stable
    • Enable existing module by default or database update
    • Non-critical brand change
    • New internal API or API improvement with backwards compatibility
    • Risky or disruptive cleanup to comply with coding standards
    • High-risk or disruptive change (requires upgrade path, risks regression, etc.)
  • Other or unknown
    • Other or unknown

Drupal core

  • Patch release changes
    • Security update
    • Patch level release (non-security bug-fix release)
    • Patch removal that's no longer necessary
  • Minor release changes
    • Major or minor level update
  • Other or unknown
    • Other or unknown

Drupal contrib projects

  • Patch release changes
    • Security update
    • Patch or minor level update
    • Add new module
    • Patch removal that's no longer necessary
  • Minor release changes
    • Major level update
  • Other or unknown
    • Other or unknown

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • My change requires release notes.

@joeparsons joeparsons self-assigned this May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants