Problem/Motivation

The Library item implements the owner interface and methods, but doesn't define the owner entity key. If it did, it could use the https://api.drupal.org/api/drupal/core%21modules%21user%21src%21EntityOw... instead of implementing the functions.

Steps to reproduce

See https://git.drupalcode.org/project/paragraphs/-/blob/8.x-1.x/modules/par...

Proposed resolution

Add the property and switch to using the trait.

Remaining tasks

Do it and Review.

User interface changes

None

API changes

None.

Data model changes

None.

Issue fork paragraphs-3624405

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

richgerdes created an issue. See original summary.

richgerdes’s picture

Status: Active » Needs review

I implemented this change in PR 290. Lets make sure it passes tests.