Problem/Motivation
Initially handled in #3517033: Add a Style API.
As the goal is to split the issue into smaller with reduced scope, I create this issue.
Regarding MR https://git.drupalcode.org/project/drupal/-/merge_requests/13379
This issue's scope is about:
- core/assets/schemas/v1/style.schema.json
- core/lib/Drupal/Core/Render/Element/Styles.php
- core/lib/Drupal/Core/Theme/Style
- core/lib/Drupal/Core/Theme/Style/StyleDefinition.php: some parts
- core/modules/system/system.styles.yml
- related tests
Improving the plugin discovery by splitting into two files:
- *.utilities.yml
- *.themes.yml
Instead of *.styles.yml. Let the type property be automatically set by the detected name.
Comments
Comment #3
grimreaperComment #4
grimreaperComment #5
pdureau commentedComment #6
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #7
grimreaperComment #8
grimreaperHi @larowlan,
This is the new place for the review of #3517033: Add a style utility API
Comment #9
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.