Leverage EntityOwnerTrait

Created on 30 September 2024, 6 months ago

Problem/Motivation

We have a number of entity types which implement EntityOwnerInterface: event series, event instances and registrants.

We are currently maintaining our own implementation of the methods that belong to this interface, but since Drupal core ships EntityOwnerTrait we can replace a bunch of code with the well tested core implementation.

When doing this we need to take care to retain the revisioning of the owner field, so we probably need to retain the code from EventUserTrait::ownerBaseFieldDefinitions(). See also the comment from @pwolanin at https://www.drupal.org/node/2998929#comment-14404239

📌 Task
Status

Active

Version

3.0

Component

Recurring Events (Main module)

Created by

🇧🇬Bulgaria pfrenssen Sofia

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

Comments & Activities

Production build 0.71.5 2024