Changes for core/lib/Drupal/Core/Entity/EntityManager.php: 1 added line, 0 removed lines.
Original line number
Diff line number
Diff line
@@ -594,6 +594,7 @@ public function getFormModeOptionsByBundle($entity_type_id, $bundle) {
publicfunctionclearDisplayModeInfo(){
@trigger_error('EntityManagerInterface::clearDisplayModeInfo() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\EntityDisplayRepositoryInterface::clearDisplayModeInfo() instead. See https://www.drupal.org/node/2549139.',E_USER_DEPRECATED);
Changes for core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php: 2 added lines, 2 removed lines.
Original line number
Diff line number
Diff line
@@ -453,8 +453,8 @@ public function testGetFormModeOptionsByBundle() {
* @expectedDeprecation EntityManagerInterface::clearDisplayModeInfo() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\EntityDisplayRepositoryInterface::clearDisplayModeInfo() instead. See https://www.drupal.org/node/2549139.