Drupal is a registered trademark of Dries Buytaert
drupal 10.6.12 Update released for Drupal core (10.6.12)! drupal 11.3.13 Update released for Drupal core (11.3.13)! drupal 10.6.11 Update released for Drupal core (10.6.11)! drupal 11.3.12 Update released for Drupal core (11.3.12)! drupal 11.2.14 Update released for Drupal core (11.2.14)! drupal 10.5.12 Update released for Drupal core (10.5.12)! 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)!

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)

Activity

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

Releases

Version Type Release date
1.0.0 Stable Jun 29, 2026
1.0.x-dev Dev Jun 29, 2026