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!
Proposed resolution
Start with D7 version and figure out how to port ;)
Comment | File | Size | Author |
---|---|---|---|
#23 | interdiff.txt | 20 KB | Mile23 |
#23 | 2102661_23.patch | 27.35 KB | Mile23 |
#21 | interdiff-21.txt | 441 bytes | joshi.rohit100 |
#21 | 2102661-21.patch | 27.43 KB | joshi.rohit100 |
#19 | interdiff-19.txt | 571 bytes | joshi.rohit100 |
Issue fork examples-2102661
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:
Comments
Comment #1
vijaycs85Going to try this one...
Comment #2
vijaycs85Initial patch. Still needs more work. Just adding here, if anyone want to pick it before I start progressing...
Comment #3
vijaycs85Need to removed....
oops
Need to be removed...
again...
Comment #4
rpayanmAnother progress...
Comment #5
Mile23Comment #6
Mile23The patch still applies (since it's making a new module), but it doesn't appear in the module list to enable.
Comment #7
joshi.rohit100Comment #8
joshi.rohit100Comment #9
rpayanmUmm missing:
type: module
Comment #11
joshi.rohit100I think, instead of using config factory in submit, we should use getEditbale... method
Comment #12
rpayanm@joshi.rohit100 you could give an example, please.
Comment #14
joshi.rohit100lets first fix the tests.
Comment #16
joshi.rohit100Comment #17
joshi.rohit100Comment #19
joshi.rohit100Comment #21
joshi.rohit100hoping for green
Comment #23
Mile23Fixed some typos, CS improvements, moved test to BTB.
Still a lot to do, such as
l()
,t()
, anddrupal_set_message()
.I see this error on testing:
This leads me to believe that we need to tweak something in
config/schema/
and/orconfig/install/
.Also the form you eventually see doesn't explain itself, and doesn't seem to do anything. It fails to upload an image and errors out.
We might also change the name of this to image_style_example.
Comment #25
jungle4.0.x is the active dev branch