Problem/Motivation

We sometimes still use "pattern" instead of component:

modules/ui_patterns_layouts/src/Element/ComponentAlterer.php: * Renders a pattern element.
modules/ui_patterns_views/src/Plugin/views/style/ComponentStyle.php: * Style plugin to render items in a pattern field.
src/Plugin/UiPatterns/PropType/LinksPropType.php:    // Don't inject URL object into patterns templates, use "title" as item
modules/ui_patterns_field_formatters/tests/src/Functional/LayoutBuilderFieldFormatterRenderTest.php: * Test pattern preview rendering.
modules/ui_patterns_layouts/tests/src/Functional/LayoutBuilderRenderTest.php: * Test pattern preview rendering.
modules/ui_patterns_views/tests/src/Functionnal/ViewsRenderTest.php: * Test pattern preview rendering.

What else?

Proposed resolution

Careful, sometimes it is trickier than just replacing "pattern" by "component".

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

pdureau created an issue. See original summary.

pdureau’s picture

Also, because this issue is about wording, do that too:

translate other in group = $definition[group] ?? Other;

pdureau’s picture

Assigned: pdureau » Unassigned
Status: Active » Needs review
pdureau’s picture

Assigned: Unassigned » pdureau
Status: Needs review » Reviewed & tested by the community

OK for Christian. Let's wait the pipeline succeeds

  • pdureau committed c8b78329 on 2.0.x
    Issue #3473852 by pdureau: Remove obsolete use of pattern
    
pdureau’s picture

Assigned: pdureau » Unassigned
Status: Reviewed & tested by the community » Fixed
pdureau’s picture

Status: Fixed » Closed (fixed)