Include "owner" entity key and use user module's EntityOwnerTrait

Created on 29 January 2024, 10 months ago
Updated 30 January 2024, 10 months ago

Problem/Motivation

Storage entity has it's own implementation of Drupal\user\EntityOwnerInterface that does not use EntityOwnerTrait.
In addition to code duplication, this causes with modules like single_content_sync (I'm sure there are others) that rely on existence of "owner" entity key

Proposed resolution

  1. Add "owner" key to the Storage entity definition
  2. Use user module's EntityOwnerTrait to implement EntityOwnerInterface

Remaining tasks

Write the patch

User interface changes

No user changes

Feature request
Status

Needs review

Version

1.3

Component

Code

Created by

🇧🇬Bulgaria valthebald Sofia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024