Refactor PrivateMessageMapper service

Created on 22 November 2024, 5 months ago

Problem/Motivation

The PrivateMessageMapper service makes an assumption: the private message entities are all stored in the default Drupal database. If for some reasons a project wants to switch the entity storage to something different than the main project database (like sparql_entity_storage, for instance) this service will not work because all methods are doing direct DB queries.

Proposed resolution

Replace direct DB queries with entity API/queries in all methods.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

📌 Task
Status

Active

Version

4.0

Component

Code

Created by

🇷🇴Romania claudiu.cristea Arad 🇷🇴

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