Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Menu Link Attributes 8.x-1.9 — Minor update available for module menu_link_attributes (8.x-1.9). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Search API attachments 10.0.13 — Minor update available for module search_api_attachments (10.0.13). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Mismatched entity and/or field definitions 1.2.1 — Minor update available for module meaofd (1.2.1). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Facet Group Assign

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

This project provides a Drush command to easily assign specific or all available global directory facets to a Drupal Group. This helps organize and filter content within microsite groups efficiently.

Provides a Drush command to assign global directory facets (localgov_directories_facets) to a microsite group (Drupal Group module).

Features

Assign facets of specific types to a group:

drush facet-group:assign --group-id=5 --facet-types=location,type_of_activity,cost

Assign all facet types:

drush facet-group:assign --group-id=5 --all-facet-types

Reset progress and start fresh:

drush facet-group:assign --group-id=5 --all-facet-types --reset

Options

Option Type Default Description --group-id integer required Group ID to assign facets to --facet-types string — Comma-separated list of facet bundle types --all-facet-types boolean false Process all facet types --reset boolean false Clear progress tracker and restart --plugin string group_localgov_directories_facets Group relationship plugin ID

Progress tracking

The command stores processed facet IDs in Drupal state (facet_group_assign.processed). If interrupted, re-running the same command will skip already-processed facets. Use --reset to clear the tracker and start from scratch.

Output summary

After completion, the command prints:

  • Per facet type success/failure counts
  • Number of previously assigned facets (skipped)
  • Total new assignments
  • List of failed facet IDs (if any)

Additional Requirements

  • group
  • localgov_directories (provides the localgov_directories_facets entity type)

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 29, 2026
1.0.x-dev Dev 10–11 Jun 29, 2026