All spotlights

Product spotlight · January 2024

See the Quant status of your content inside Drupal

The Quant Drupal module now shows the Quant status of your content inside Drupal, adds purger allow lists, warns about overridden settings and pushes more Drupal 7 redirects.

Updated Quant Drupal module For government and education

What changed in January 2024

The January 2024 changelog has the full details.

  • Quant metadata views

    Version 1.6.0, for Drupal 9.3 or later and Drupal 10, adds Node, Taxonomy, File and Redirect Metadata views on the Metadata tab. Each view lists the Quant URL, published status, and last updated and synced times. The Redirect view needs the Redirect module. You can add the same details to your own views with the Quant Metadata field.

  • Page info block

    The Show page information block setting adds the current page's Quant details to the top of non-admin pages. To show them in a block region instead, turn the setting off and place the Quant Page Info block.

  • Purger allow lists

    The Quant purger now supports path and tag allow lists, so you control which paths and cache tags trigger a purge. When you change the purger configuration, the module prompts you to reseed so that your settings take effect.

  • Settings overrides and warnings

    In version 1.6.0, the Quant API settings page warns you when settings.php overrides a value, and shows the overriding value for every field except the token. The API endpoint field is now read-only. Quant admin pages also warn when settings.php does not set the recommended seed queue service.

  • Drupal 7 redirects

    Version 7.x-1.4 for Drupal 7 pushes more redirects when the Quant Redirects submodule is enabled. Saving a node, taxonomy term or file pushes a 301 redirect from its system path, such as /node/123, to its alias. When an alias changes, the old alias redirects to the new alias on your Quant project.

  • Pager pages in seeds

    Seeds skipped later pages of listings whose pager links use the page-item class. Version 1.6.0 adds a selector for this markup to Links to follow in the settings, and a database update adds it to existing sites.

Action needed

  • Run the database updates after you upgrade to version 1.6.0, then reseed your site so the missing pager pages reach Quant.

Who it is for

  • Content editors

    See the Quant URL, published status, and last updated and synced times of your pages without leaving Drupal.

  • Site administrators

    Choose which paths and cache tags trigger a purge, and see which of the API settings come from your settings.php file.

  • Drupal 7 sites

    With Quant Redirects enabled, version 7.x-1.4 redirects system paths and old aliases on your Quant project.

How it works

The Quant Drupal module pushes your Drupal content to Quant. This month’s changes help you check that content, and the settings that control it, from inside Drupal.

Open the Metadata tab at /admin/config/quant/metadata and choose the Node, Taxonomy, File or Redirect Metadata view. Each row shows the Quant URL, the published status, and the last updated and synced times. To see the same details on the page itself, turn on the Show page information block setting on the Quant settings page. If you prefer a block region, turn the setting off and place the Quant Page Info block.

The Quant API settings page now warns you about each value that settings.php overrides, such as the project or token. The API endpoint field is read-only, so set api_endpoint in settings.php or with Drush to change it. The documentation recommends this seed queue setting in settings.php, and Quant admin pages warn you when it is missing:

$settings['queue_service_quant_seed_worker'] = 'quant.queue_factory';

A reseed pushes all your site content to Quant again. The module prompts you to reseed when you change the purger configuration, so that your settings take effect. After you upgrade to version 1.6.0, run the database updates and then reseed. The pager pages that earlier seeds skipped then reach Quant.

Get started

  1. Upgrade the module

    Install version 1.6.0 on Drupal 9.3 or later, or on Drupal 10.

  2. Update and reseed

    Run the database updates, then reseed so the missing pager pages reach Quant.

  3. Set the seed queue

    Set queue_service_quant_seed_worker to quant.queue_factory in settings.php.

  4. Check your content

    Open the Metadata tab at /admin/config/quant/metadata.

  5. Show page details

    Turn on Show page information block, or place the Quant Page Info block.

Related: Explore Quant Drupal module · Documentation · January 2024 changelog

Ready to try it on Quant?

Use the Quant Drupal module on your own project, or talk to our team first.