Problem/Motivation

EntityManager is deprecated so let's remove its usages.

Drupal\Core\Entity\Controller\EntityViewController has two subclasses: Drupal\node\Controller\NodePreviewController and Drupal\node\Controller\NodeViewController.

NodeViewController is interesting because it is not used directly, but instead from other controllers, such as Drupal\node\Controller\NodeController, which creates a new instance and then uses its view() method, so it may be a candidate for turning into a trait.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Mile23 created an issue. See original summary.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.7.x-dev

Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

berdir’s picture

Status: Active » Closed (duplicate)

I did this in the referenced issue now.