Upgrading from 1.0.0 to 2.0.0¶
eZ Platform Site API introduces a slight breaking change to
ContentView value object, hence the
bump to version 2.0.
- Site API
ContentViewview object does not extend from eZ Platform
ContentViewvalue object any more to allow implementation of custom view providers. Class signature did not change, however, since all required interfaces are now implemented directly on Site API
Netgen\Bundle\EzPlatformSiteApiBundle\View\ContentValueViewinterface does not contain
getSiteLocationmethod any more. It is moved to a new interface,
LocationValueView, in the same namespace. If you used this method in your code, make sure to check for this new interface. This was done to keep in line on how eZ kernel uses its
ContentViewvalue object and its interfaces.