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.
Problem/Motivation
Tested the module for being D9 Ready at DrupalCon Seattle 2019 using http://www.github.com/mglaman/drupal-check. Found one issue.
Line src/Plugin/Field/FieldWidget/AggridWidgetType.php
------ ------------------------------------------------------------
53 Call to deprecated method entityManager() of class Drupal.
Proposed resolution
Change the code to use \Drupal::entityTypeManager()
Comment | File | Size | Author |
---|---|---|---|
#6 | Screen Shot 2019-04-15 at 11.13.38 PM.png | 701.81 KB | sean_e_dietrich |
#6 | Screen Shot 2019-04-15 at 11.12.45 PM.png | 783.36 KB | sean_e_dietrich |
#6 | Screen Shot 2019-04-15 at 11.13.49 PM.png | 11.55 KB | sean_e_dietrich |
#6 | Screen Shot 2019-04-15 at 11.13.20 PM.png | 22.43 KB | sean_e_dietrich |
#4 | 3046971-4.patch | 646 bytes | mferanda |
Comments
Comment #2
mferanda CreditAttribution: mferanda as a volunteer commentedComment #3
mferanda CreditAttribution: mferanda as a volunteer commentedComment #4
mferanda CreditAttribution: mferanda as a volunteer commentedComment #5
mferanda CreditAttribution: mferanda as a volunteer commentedComment #6
sean_e_dietrichPatch applies successfully. Provided screenshots of before and after patch applied to code and also provided before and after screenshots of running drupal-check. Marking RTBC.
Comment #8
mferanda CreditAttribution: mferanda as a volunteer commentedComment #9
mferanda CreditAttribution: mferanda as a volunteer commentedComment #10
mferanda CreditAttribution: mferanda as a volunteer commentedComment #11
Kristen PolPer a Slack discussion with Gábor Hojtsy regarding usage of D9 tags (Drupal 9, Drupal 9 compatibility, Drupal 9 readiness, etc.), "Drupal 9 compatibility" should be used for contributed projects that need updating and "Drupal 9" was the old tag for D8 issues before the D9 branch was ready. Doing tag cleanup here based on that discussion.