Change record status: 
Project: 
Introduced in branch: 
8.x
Description: 

Summary

  • EntityManagerInterface is created and it's implemented by EntityManager.
  • All typehints should use EntityManagerInterface instead of EntityManager.

Before

use Drupal\Core\Entity\EntityManager;
/**
 * Function description.
 *
 * @param \Drupal\Core\Entity\EntityManager $entity_manager
 *   The entity manager.
 */
function function_name(EntityManager $entity_manager) {

After

use Drupal\Core\Entity\EntityManagerInterface;
/**
 * Function description.
 *
 * @param \Drupal\Core\Entity\EntityManagerInterface $entity_manager
 *   The entity manager.
 */
function function_name(EntityManagerInterface $entity_manager) {
Impacts: 
Module developers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Not done