Provide a means to return a simple html response on routes

Created on 28 March 2024, 3 months ago
Updated 12 April 2024, 3 months ago

Problem/Motivation

Routes built to support HTMX requests ideally return the needed html but do not need to expend resources processing more than that. A full page build will typically be more than is needed.

Proposed resolution

Document a route option for routes designed to work with HTMX.
Create an event subscriber that reacts to the this option and sets the page display variant to simple_page so that all block processing is skipped.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Drupal Code

Created by

πŸ‡ΊπŸ‡ΈUnited States FatherShawn New York

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024