Call to deprecated method entityManager() of class Drupal