...
The role of the (eZ\Publish\Core\MVC\Symfony\)View\Manager
is to select the right template for displaying a given content item or location. It aggregates objects called content and location view providers which respectively implement eZ\Publish\Core\MVC\Symfony\View\Provider\Content
and eZ\Publish\Core\MVC\Symfony\View\Provider\Location
interfaces.
Each time a content item is to be displayed through the Content\ViewController
, the View\Manager
iterates over the registered content or location View\Provider
objects and calls getView
()
.
...