Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-28956

As a Developer I want access to Content on Location object, so that I can use it if I need it

    XMLWordPrintable

Details

    Description

      As a Developer I'd like to get easily access to content item when I have a location.

      For instance if I search for locations I'd like to be able to reach the content of that location within Twig templates without further work.

      This story contains the following sub tasks:

      • Add a SPI\Persistence\Content\Handler->loadContentList() method in order to be able to bulk load content, so the lazy property can be loaded in bulk on collection of locations.
      • Take advantage of this in SearchService->findContent() for improving performance when loading content
      • Use this in order to be able to expose $location->getContent() property in API, which for Twig will simply mean location.content

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andre.romcke-obsolete@ez.no André Rømcke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: