As the method entityManager() is going to be deprecated it has to be changed to entityTypeManager().
Reference : https://api.drupal.org/api/drupal/core!lib!Drupal.php/function/Drupal%3A...
in Drupal 8.0.0 and will be removed before 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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2763577-1.patch | 608 bytes | ashishdalvi |
Comments
Comment #2
ashishdalviReplaced 2763577 entityManager with entityTypeManager.
Adding patch
Comment #3
ashishdalviComment #6
istryker commentedDone.