Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Sub-issue for meta issue #1880976: [meta] Port examples (including submodules) to D9.4+
Problem/Motivation
D8 all the things!
See: #2277629: Add filter example
Proposed resolution
Start with D7 version and figure out how to port ;)
Comment | File | Size | Author |
---|---|---|---|
#3 | examples-filter_d8-2102657-2.diff | 2.36 KB | Garrett Albright |
#1 | examples-filter_d8-2102657-1.patch | 12.12 KB | Garrett Albright |
Comments
Comment #1
Garrett Albright CreditAttribution: Garrett Albright commentedPort of the filters and the tests (which pass, even). hook_help() and hook_menu() stuff not yet included.
Comment #2
Garrett Albright CreditAttribution: Garrett Albright commentedComment #3
Garrett Albright CreditAttribution: Garrett Albright commentedAnd here it is with hook_help().
Assuming we can neglect the stuff that hook_menu() was doing (see my post in the D8 port meta-thread about that), this should be complete now.
Comment #4
Mile23Pretty sure we can't neglect what hook_menu was doing. :-)
Comment #5
Mile23Testbot makes me unhappy.
Comment #6
Garrett Albright CreditAttribution: Garrett Albright commentedHuh?
Comment #7
zealfire CreditAttribution: zealfire commentedI would love to work on this starting from the beginning.
Comment #8
zealfire CreditAttribution: zealfire commentedComment #9
zealfire CreditAttribution: zealfire commentedThis need a lot of work to be done as Drupal 8 uses plugins.Also the tests need to be written from start. Will try to make a sandbox project and proceed further.
Comment #10
zealfire CreditAttribution: zealfire commentedAll the development related to this issue is being done over here: https://www.drupal.org/sandbox/zealfire/2444489
Comment #11
Mile23Generally unassigning issues. Please re-assign yourself as desired.
Comment #12
navneet0693 CreditAttribution: navneet0693 as a volunteer and at QED42 commentedThis can be marked duplicate or closed in favour of #2277629: Add filter example. As the patch contains both port and test.
Comment #13
navneet0693 CreditAttribution: navneet0693 as a volunteer and at QED42 commentedComment #14
Mile23#2277629: Add filter example is a lot more complete. Closing this issue and rescoping there.