Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Configuration Language Lock 1.0.2 Minor update available for module config_language_lock (1.0.2). Release: Canvas Override 1.0.1 Minor update available for module canvas_override (1.0.1). Release: Media Remote Image 8.x-1.2 Minor update available for module media_entity_remote_image (8.x-1.2). Release: IDNA Convert Service (punycode) 2.0.4 Minor update available for module idna (2.0.4). Release: Bootstrap Cloud 7.1.3 Minor update available for theme bootstrap_cloud (7.1.3). Release: Token Browser 1.0.2 Minor update available for module token_browser (1.0.2). Release: Varbase Project 11.0.8 Minor update available for module varbase_project (11.0.8). Release: Media Remote Image 2.0.0-beta1 First beta version released for module media_entity_remote_image (2.0.0-beta1). Usage Milestone: Term CSV Export Import Module term_csv_export_import crossed 1,000 active installs. Security Coverage: Module Scout Module module_scout now has official Drupal security advisory coverage.

Facet Type Tray

3 sites No security coverage Drupal 10–11
View on drupal.org

This module integrates the Type Tray content type organizer with the Facets module. It allows you to use content type categories defined in Type Tray as a hierarchical facet within your Search API views, enabling better organization and filtering of content.

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).

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jun 2026
Latest release
3 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

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