Add core_version_requirement: ^8 || ^9 to facebook_pixel.info.yml to designate that the module is compatible with Drupal 9. See https://www.drupal.org/node/3070687.
| Comment | File | Size | Author |
|---|---|---|---|
| #16 | interdiff-3122781-15-16.txt | 398 bytes | fenstrat |
| #16 | 3122781-16.patch | 8.89 KB | fenstrat |
Issue fork facebook_pixel-3122781
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 #2
mo_farhaz commentedplease review it
Comment #3
shreyal999 commentedComment #4
smrutha commentedComment #5
bwaindwain commentedWhen I try patch #2 in Drupal 9.0.5 I get
possible as a result of this patch https://www.drupal.org/project/facebook_pixel/issues/2917474#comment-129...
Comment #6
karishmaamin commentedplease review
Comment #7
bwaindwain commentedI can confirm the module installs without errors in D9.0.5 and seems to run fine. It's still based on 8.x alpha version so...?
Thanks @karishmaamin
Comment #8
tushar.verma commentedtested patch#6 on D8 &9 , info.yml changes needed for the sub module hence Adding core_version_requirement: ^8 || ^9 to designate that the module is compatible with Drupal 8 and 9
So here is the updated patch
Comment #9
devdesagar commentedHi Team,
Patch #8 is working fine. Checked on both Drupal 8 and drupal 9
Comment #10
devdesagar commentedComment #11
tushar.verma commentedJust wanted to add that few test cases failed because the sub module is not getting enabled as the dependency in info.yml file is not defined.
When we manually install and enable the required dependency module then the warning issues are resolved.
Comment #14
chuyenlv commentedI checked and created this patch to fix compatibility and drupal 9 readiness.
please review
Comment #15
chuyenlv commentedupdated patch from #14
please review
Comment #16
fenstratConfirming that the patch in #15 is RTBC. The dependency injection changes from #8 to #14 are out of scope for the D9, but they are good.
Copy/paste error, this should be "facebook_pixel service." - I've fixed this in the attached patch.
Comment #18
andyg5000Thanks everyone