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

As a Developer I want PAPI determining if ContentTypeGroup is used

    XMLWordPrintable

    Details

    • Story Points:
      5

      Description

      There is the PHP method eZ\Publish\API\Repository\ContentTypeService::isContentTypeUsed

      During v2 development it occurred to us that it would be nice to have syntax sugar like isContentTypeGroupUsed which would return true if any of the ContentTypes assigned to that group returns true for isContentTypeUsed, so we could avoid calling loadContentTypes

      Specification: It should be implemented not as a facade but as direct call to persistence layer to make it more efficient.

      // cc Łukasz Serwatka, Bertrand Dunogier, Mikołaj Adamczyk

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              andrzej.longosz@ez.no Andrzej Longosz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: