Problem/Motivation

Evaluate if instead of altering form with the plugin manager, create a form element.

Issue fork ui_styles-3490142

Command icon 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

grimreaper created an issue. See original summary.

grimreaper’s picture

Assigned: Unassigned » grimreaper

grimreaper’s picture

Commit message.

Issue #3490142 by grimreaper, pdureau: Move styles manager form alter logic to a form element.

- do not save empty config entries
- Rework ui_styles_attributes source regarding last changes in UIP2
- Allow ui_styles_attributes source to set other attributes
- Fix ui_styles_ui_patterns config schema

@todo Create tests on the form element.

@pdureau I ask you some macro questions in MR.

grimreaper’s picture

Title: Evaluate if better to provide a form element » Introduce dedicated form element
grimreaper’s picture

Status: Active » Needs work
grimreaper’s picture

Assigned: grimreaper » pdureau
Status: Needs work » Needs review

Waiting feedbacks before converting stylesManager::alterForm tests to the Form element tests.

pdureau’s picture

Assigned: pdureau » grimreaper
Status: Needs review » Needs work

Very cool. OK with everything

  • grimreaper committed 06c02af5 on 8.x-1.x
    Issue #3490142 by grimreaper, pdureau: Move styles manager form alter...
grimreaper’s picture

Assigned: grimreaper » Unassigned
Status: Needs work » Fixed
grimreaper’s picture

Assigned: Unassigned » grimreaper
Status: Fixed » Needs work
Related issues: +#3501400: DX: attribute prop source trait?

  • grimreaper committed 244df5ba on 8.x-1.x
    Issue #3490142 by grimreaper, pdureau: Remove code now in public UIP API...
grimreaper’s picture

Assigned: grimreaper » Unassigned
Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.