Problem/Motivation
Part of #3524379: [meta] Remove usage of history module from comment module
Steps to reproduce
Proposed resolution
- Remove history integration from
\Drupal\comment\Hook\CommentViewsHooks::viewsDataAlterand move to\Drupal\history\Hook\HistoryViewsHooks::viewsDataAlter - Move
\Drupal\Tests\comment\Functional\Views\NodeCommentsTest::testNewCommentsto\Drupal\Tests\history\Functional\Views\CommentsHistoryTest::testNewComments - Move
test_new_commentsview to newhistory_test_viewsmodule
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3542847
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:
- 3542847-comment-history-views
changes, plain diff MR !13071
Comments
Comment #3
mstrelan commentedComment #4
smustgrave commentedIf history is removed in 12 shouldn't the deprecations be for 12? Else in 12 we would have core code calling a contrib module.
If you are another contributor eager to jump in, please allow the previous poster(s) at least 48 hours to respond to feedback first, so they have the opportunity to finish what they started!
Comment #5
mstrelan commentedYeah that makes sense, updated.
FWIW this can move to history module regardless of if we complete the whole deprecation in time or not.
Comment #6
mstrelan commentedComment #7
mstrelan commentedComment #8
smustgrave commentedFair, like to think we can get it out in time! Rest of the changes look good. Any cleanup in history can be by that maintainer in contrib.
Comment #9
catchThis looks good. Not entirely sure we need the CR for the plugin deprecation because the plugin ID hasn't changed, but went ahead and added a small note to that and published it. Committed/pushed to 11.x, thanks!
Comment #12
catch