Problem/Motivation

As a follow-up of #3584856: Source field model and storage and extracted from #3548884: [trans] Make SourceValueItem field type translatable with synchronized and asynchron translations MR.

This is breaking entity query conditions:

  public static function mainPropertyName() {
    // A source item has no main property.
    return NULL;
}

Proposed resolution

Pick a field property as main property:

  public static function mainPropertyName() {
    return 'source';
  }

(And remove the experimental status from ui_patterns_field so Display Builder can publish its own release without a dependency to experimental module)

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

Title: Add a main property to » Add a main property to SourceValueItem
Component: Code » UI Patterns Field
Issue summary: View changes

pdureau’s picture

Assigned: pdureau » Unassigned
Status: Active » Needs review

just_like_good_vibes’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.