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

Create extensibility point for view override in repository-forms content edit and draft create

    XMLWordPrintable

Details

    Description

      There is no way to override Content Edit/Draft Create views besides overriding twig templates in `app/views`. This isn't convenient as it's impossible to change views from other bundle.

      Solution is rather simple - return View object instead of HTML rendered by twig. This way it can be easily picked up by `kernel.view` or `ezpublish.content_pre_render` event subscribers.

      Attachments

        Activity

          People

            Unassigned Unassigned
            maciej.kobus@ibexa.co Maciej Kobus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: