Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

Integrates the Type Tray content type organizer with the Facets module, so that content type categories defined in Type Tray can be used as a hierarchical facet in Search API views.

Requirements

Content types must have a Type Tray category assigned for them to appear grouped in the facet. Types without a category are indexed under their own machine name.

How it works

The module provides three plugins:

  • Search API processor: Type Tray (type_tray): Indexes each node with its Type Tray category as a separate field. Both the category key (parent level, e.g. resources) and a compound category.bundle value (child level, e.g. resources.page) are stored, enabling two-level hierarchy in the facet widget.
  • Facets build processor: Type Tray - Merge node types (type_tray): Resolves the indexed category and compound values back to human-readable labels for display in the facet widget.
  • Facets sort processor: Sort by Type Tray categories (type_tray_category): Orders facet results according to the category order defined in the Type Tray configuration.

Setup

  1. Add the Type Tray Search API processor to your search index under Configuration > Search API > [your index] > Processors, then re-index.
  2. Add a facet for the new Type Tray category field on your Search API view.
  3. On the facet, enable the Type Tray: Merge node types build processor and optionally the Sort by Type Tray categories sort processor.
  4. To get the two-level category/bundle hierarchy, also enable the Type Tray hierarchy plugin on the facet and choose a widget that supports hierarchy (e.g. the core checkbox widget with the hierarchy option enabled).

Activity

Total releases
2
First release
Jun 2026
Latest release
2 days ago
Release cadence
0 days
Stability
50% stable

Releases

Version Type Release date
1.0.0 Stable Jun 11, 2026
1.x-dev Dev Jun 11, 2026