Skip to main content
Version: 2026.2

Extending

Custom Layouts

Register a new layout type as a tagged service, see Adding a Custom Layout.

Studio API Events

The Headless Documents configuration panels (Headless Templates, Headless Bricks, and the Datahub configuration detail view) are Pimcore Studio plugins. Before one of their endpoints returns, the bundle dispatches a pre-response event carrying the response schema. Listen for it to add your own data to the response.

EventDescription
pre_response.headless_documents.template_listThe list of template IDs and names.
pre_response.headless_documents.template_treeOne template node in the template tree.
pre_response.headless_documents.template_tree_folderOne group (folder) node in the template tree.
pre_response.headless_documents.template_detailA single template configuration.
pre_response.headless_documents.template_helpThe inline help content for templates (layouts and editables).
pre_response.headless_documents.brick_listThe list of brick IDs and names.
pre_response.headless_documents.brick_treeOne brick node in the brick tree.
pre_response.headless_documents.brick_tree_folderOne group (folder) node in the brick tree.
pre_response.headless_documents.brick_detailA single brick configuration.
pre_response.headless_documents.brick_helpThe inline help content for bricks (editables).
pre_response.headless_documents.datahub_configuration_detailA single Headless Documents Datahub configuration.
pre_response.headless_documents.datahub_configuration_updateThe result of saving a Datahub configuration. The payload carries only the new modificationDate, not the saved configuration.

Every event extends the Studio Backend AbstractPreResponseEvent, so a listener can attach additional attributes to the response schema. See Extending via Events for the subscriber pattern, and Additional and Custom Attributes for the attribute mechanism itself.

warning

The endpoints themselves are not a supported public API. Every Studio controller in this bundle is marked @internal and may change in any release without a deprecation path. Do not build integrations against them.