Mercurial > hg > isophonics-drupal-site
diff core/lib/Drupal/Core/Controller/ControllerBase.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | c2387f117808 |
children |
line wrap: on
line diff
--- a/core/lib/Drupal/Core/Controller/ControllerBase.php Thu Feb 28 13:21:36 2019 +0000 +++ b/core/lib/Drupal/Core/Controller/ControllerBase.php Thu May 09 15:33:08 2019 +0100 @@ -129,6 +129,7 @@ * instead. */ protected function entityManager() { + @trigger_error('ControllerBase::getEntityManager() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use ::getEntityTypeManager() instead. See https://www.drupal.org/node/2549139.', E_USER_DEPRECATED); if (!$this->entityManager) { $this->entityManager = $this->container()->get('entity.manager'); }