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 ;)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Garrett Albright’s picture

Port of the filters and the tests (which pass, even). hook_help() and hook_menu() stuff not yet included.

Garrett Albright’s picture

Status: Active » Needs work
Garrett Albright’s picture

Status: Needs work » Needs review
FileSize
2.36 KB

And 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.

Mile23’s picture

Pretty sure we can't neglect what hook_menu was doing. :-)

Mile23’s picture

Issue summary: View changes
Status: Needs review » Needs work

Testbot makes me unhappy.

Garrett Albright’s picture

Huh?

zealfire’s picture

Assigned: Unassigned » zealfire
Status: Needs work » Active

I would love to work on this starting from the beginning.

zealfire’s picture

Assigned: zealfire » Unassigned
zealfire’s picture

This 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.

zealfire’s picture

Assigned: Unassigned » zealfire

All the development related to this issue is being done over here: https://www.drupal.org/sandbox/zealfire/2444489

Mile23’s picture

Assigned: zealfire » Unassigned

Generally unassigning issues. Please re-assign yourself as desired.

navneet0693’s picture

Issue summary: View changes

This can be marked duplicate or closed in favour of #2277629: Add filter example. As the patch contains both port and test.

navneet0693’s picture

Status: Active » Needs review
Mile23’s picture

Status: Needs review » Closed (duplicate)

#2277629: Add filter example is a lot more complete. Closing this issue and rescoping there.