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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mferanda created an issue. See original summary.

mferanda’s picture

FileSize
658 bytes
mferanda’s picture

Status: Active » Needs review
mferanda’s picture

FileSize
646 bytes
mferanda’s picture

Issue summary: View changes
sean_e_dietrich’s picture

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

  • mferanda committed 2dfa936 on 8.x-1.x
    Issue #3046971 by mferanda: Drupal 9 Ready
    
  • mferanda committed 5ed3cf0 on 8.x-1.x
    Issue #3046971 by mferanda, sean_e_dietrich: Drupal 9 Ready
    
mferanda’s picture

Status: Reviewed & tested by the community » Patch (to be ported)
mferanda’s picture

Status: Patch (to be ported) » Fixed
mferanda’s picture

Status: Fixed » Closed (fixed)
Kristen Pol’s picture

Issue tags: -Drupal 9

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