1/1 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ --------------------------------------------------------------------------
Line cacherefs.module
------ --------------------------------------------------------------------------
14 Call to deprecated method entityManager() of class Drupal:
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use \Drupal::entityTypeManager() instead in most cases. If the needed
method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the
deprecated \Drupal\Core\Entity\EntityManager to find the
correct interface or service.
------ --------------------------------------------------------------------------
[ERROR] Found 1 error
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 3131611-8.patch | 915 bytes | ankush_03 |
| #3 | 3131611-3.patch | 903 bytes | ankush_03 |
Comments
Comment #2
ankush_03Comment #3
ankush_03Adding Patch !
Comment #4
mohrerao commentedComment #5
kristen polComment #6
mohrerao commentedTested on Drupal 9 and patch fails in functional testing.
Call to undefined method Drupal\Core\Entity\EntityTypeManager::getFieldDefinitions() in /Applications/MAMP/htdocs/my_site_name_dir/web/modules/contrib/cacherefs/cacherefs.module on line 14 #0 /Applications/MAMP/htdocs/my_site_name_dir/web/modules/contrib/cacherefs/cacherefs.module(33): cacherefs_clear(Object(Drupal\node\Entity\Node))
Comment #7
mohrerao commentedComment #8
ankush_03Comment #9
mohrerao commentedTested with 3131611-8.patch on 9.1.0-dev. Patch works fine.
Comment #10
mohrerao commentedComment #11
gábor hojtsyAdd event-appropriate tag based on DIACWMay2020. (Sorry for the noise).
Comment #12
tjferre commentedCreated a new master branch for Drupal 9 and added the patch.
https://git.drupalcode.org/project/cacherefs/-/tags
Drupal.org is currently not allowing creating a new release... will create a Drupal 9 release as soon as I can.
Thanks.