Closed (duplicate)
Project:
Drupal core
Version:
main
Component:
dblog.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2017 at 20:28 UTC
Updated:
24 Jan 2026 at 00:11 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dagmarAn initial patch to discuss the approach.
Comment #4
dagmarComment #5
daffie commented@dagmar: I think that we can just deprecated the dblog_filters() function and not change its code. We can then change the way we want to filter the dblogs. Like you want to do in #2458191-67: Provide a storage backend for dblog module. So do not do this:
Edit: If you change what the function returns it will be a BC break.
Comment #6
Pavan B S commentedLine exceeding 80 characters
Applying the patch for the comment # 5 and also there was a minor error of one line. Please verify the patch.
Comment #8
gaurav.kapoor commentedComment #10
gaurav.kapoor commentedCombining all the suggestions.
Comment #12
jofitzRe-rolled.
Comment #14
dagmarThanks everyone!.
As @daffie said:
If you take a look to my comment on #2458191-67: Provide a storage backend for dblog module we need first to determinate what parameters will receive the
loadMultiplemethod.If you want to help move forward the dblog modernization (#2847428: [Meta] Modernize dblog module), help reviewing this issue #2851293: dblog is using the wrong views field, filter and relationships definitions which is blocking almost everything related dblog.
Comment #15
dawehnerThis could use trigger_error now, see #2575081: [policy, no patch] Use E_USER_DEPRECATED in Drupal 8 minor releases
Comment #16
dagmarThanks @dawehner. We cannot deprecate a function that we are still using in core. As I said, this is blocked until we have a review on #2851293: dblog is using the wrong views field, filter and relationships definitions which unblocks #2458191: Provide a storage backend for dblog module
Comment #17
dawehnerOH sorry, I didn't meant it to set it to needs review.
Comment #29
feuerwagenPostponed now on #2401463: Make dblog entities I guess.
Comment #32
nicxvan commentedThis is now a duplicate #3560398: Move _dblog_get_message_types and dblog_filters to a DbLogFilters service and deprecate them.
Typically we keep the older issue but the other is rtbc already, not sure how I missed this.
I took care of credits too.