Active
Project:
Drupal core
Version:
main
Component:
entity system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Jun 2013 at 17:24 UTC
Updated:
19 Nov 2025 at 10:47 UTC
Jump to comment: Most recent
Comments
Comment #1
fagoNote, that contact message entity could qualify for that. While we cannot even load that, in having a load() is no harm. You can use it only with an ID anyway - as there exists no contact ID there is problem in that being called incorrectly - it can always just do nothing (= IDs are unknown).
However, calling save() on a contact message would create troubles. So having that flag + exception would be a good idea here.
Comment #2
tstoecklerI definitely think this warrants a separate interface. We could also make the storage controller optional and then check on the existance of one.
Comment #3
berdirThere is now a null implementation of the storage controller for contacts, so saving them will simply do nothing.
Comment #4
medienverbinder commentedThat's exactly what I was looking for. Is there some code examples or some more information for this purpose?
Comment #5
dawehnerYou kinda need this on your entity type:
Comment #19
smustgrave commentedThank you for creating this issue to improve Drupal.
We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.
Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
Comment #20
smustgrave commentedWanted to bump 1 more time what would be the pro of this?
Comment #21
geek-merlinUse case and reasoning of the issue summary is still relevant.
Comment #22
geek-merlin