Install

Works with Drupal: ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 251.18 KB
MD5: ae89b9891c3a369408ab82d9b3768111
SHA-1: 885793a73b13de2a69bcb715ca6ba280d5dc5993
SHA-256: 7393ecd69db19087f703c3bc5d8e6c63b09657fadc49645c3a232122ca98aff8
Download zip 404.74 KB
MD5: 84eddc0a0c25e15f843dcc275cdadc22
SHA-1: 7b723ff9de8dee161fcb39ee6acfee6480b999f0
SHA-256: 37fe2eef132fba59d44177bb2153874f979e9fd8434678696a4c908a3f3d336e

Release notes

Upgrade notes

  • Quant Forms is opt-in for each Webform. Nothing changes for your forms on upgrade. A Webform is managed by Drupal only after you tick "Take submissions through Quant Forms" in its settings (Settings > General > Third party settings > Quant Forms), or tick it on Configuration > Quant > Forms, or run drush quant:webform-register ID --opt-in. Then Drupal is the source of truth for that form: the next publish of its page replaces the Quant Forms settings made for that page in the Quant dashboard, and a Webform that has its own page posts to that page from every page that embeds it. Before you opt a form in, copy any notification addresses, Slack webhook and spam settings from the dashboard into the form's Quant Forms section. The update hook changes nothing.
  • The export fetch always sends the signed quant-token. Before, it was sent only with content drafts on. The purger still records no traffic on sites with content drafts off, as before.
  • An export token works only for the page it was made for. The static Webform render no longer accepts one signed token on every path.
  • The API client sends nothing without a project token. An unconnected site used to call the API with empty credentials.
  • Update 8105 (quant_search) clears the stored default search host. A site that kept https://search.quantgov.cloud now reads the host at run time; a host that the site set itself stays. Run drush updb.

Log in to Quant

Connect a site by approving it in the Quant dashboard and choosing its project, instead of copying a token. The login is limited to that project, kept outside configuration and refreshed on cron, and a write token rotated in the dashboard is re-read automatically (after a 401, at most every 15 minutes, and daily). A copy of the database does not publish with the original site's login: the status report, the log and the API settings page say so and name what differs. If it is the same site (for example after a database move or a new hash salt), click "This is the same site" on the API settings page. Sites that publish several domains to several projects, and sites in a subdirectory, keep using project tokens. drush quant:auth-status shows the connection.

"Log out of Quant" ends the login in the Quant dashboard too, so the site's token stops working at once (dashboards without this endpoint let it expire). When Quant refuses to renew a login, the API settings page and the status report say "The Quant login needs renewing", and the button reads "Log in to Quant again". An unreachable Quant endpoint no longer breaks the API settings page; the editor sees a plain message without the endpoint URL. Saving the API settings of a logged-in site no longer logs it out when a quant_api_dashboard_url override points at a host outside quantgov.cloud.

Content changes

  • A renamed page (for example a new Pathauto alias after a title change) keeps its old address working: Quant gets a 301 from the old alias to the new one. Sites with the Redirect module keep using its redirects.
  • Deleted content no longer leaves /node/N or /taxonomy/term/N redirecting to a page that is gone.
  • A push that does not reach Quant is no longer silent. Pushes run after the page is saved, so editors now see a warning on their next page view, and the status report lists the pages, until each page is pushed again.
  • The shipped metadata views pass strict config schema checks.

Quant Forms for Webform

Opted-in Webforms take submissions on the static site through Quant Forms, including multi-page forms, conditions, composites and file uploads. Each form's notification email, Slack webhook, honeypot, reCAPTCHA v2, spam check, blocklists and confirmation are set in Drupal. The quant_webform README lists what works on the static site and what does not. Configuration > Quant > Forms explains the opt-in first and lists each difference a form has on the static site. Saved Quant Forms settings now pass config validation (the schema used the wrong key).

Search pages

"Create a search page" makes a working search page from one screen, and "Create from a View" proposes one from a View page. The search page config schema now applies (it never did before). A second search page does not add a second search box; after a box is placed, the wizard links to the seed page, because the static pages show it only after they are published again. A site whose $settings['quant_api_dashboard_url'] names a QuantGov dashboard (dash.<env>.quantgov.cloud) searches search.<env>.quantgov.cloud.

Update hooks

Run drush updb after the update. 2.3.0 adds:

  • quant 9009: stores the on/off settings as booleans, as their schema says. Sites installed on Drupal 11.1 or earlier kept 0 and 1.
  • quant 9010: keeps only the ticked keys in the Quant metadata Views field option.
  • quant_api 11001: adds the platform and the connection method to the Quant API settings.
  • quant_search 8105: clears the stored default search host (see above).
  • quant_webform 11001: changes nothing; Quant Forms is opt-in.
Created by: stooit
Created on: 9 Nov 2026 at 11:39 UTC
Last updated: 9 Nov 2026 at 11:40 UTC
Bug fixes
New features

Other releases