Drupal is a registered trademark of Dries Buytaert
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)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

The Tool - Workspace module provides workspace management tools that integrate the Tool module with the core Workspaces module. It enables content staging operations through the Tool module's plugin system.

The primary use case for this module is:

  • Create and manage workspaces programmatically
  • Switch between workspaces during automated workflows
  • Check workspace status and existence before performing operations
  • Integrate workspace operations into tool-based workflows

REQUIREMENTS

This module requires the following modules:

Optional modules for extended functionality:

  • WSE (wse) - For workspace revert functionality
  • WSE Preview (part of wse module) - For generating shareable workspace preview links

INSTALLATION

Install as you would normally install a contributed Drupal module. See: https://www.drupal.org/docs/extending-drupal/installing-modules for further information.

TOOLS PROVIDED

  • Check workspace exists (workspace_exists): Verifies if a workspace with the given ID exists.
  • Get active workspace (workspace_get_active): Returns information about the currently active workspace or indicates if viewing the Live site.
  • Create workspace (workspace_create): Creates a new workspace without switching to it.
  • Switch workspace (workspace_switch): Switches the current session to an existing workspace.
  • Create and switch to workspace (workspace_create_and_switch): Creates a new workspace and immediately switches to it with rollback on failure.
  • Get workspace tracked content (workspace_tracked_content): Returns
    tracked content in a workspace with summary counts and optional detailed
    listing.
  • Publish workspace (workspace_publish): Publishes all tracked content in
    a workspace to Live. Only top-level workspaces can be published.
  • Revert workspace (workspace_revert): Reverts a published (closed)
    workspace, undoing its changes from Live and reopening it. Requires the WSE
    module.
  • Generate workspace preview link (workspace_preview_link): Generates a
    shareable preview link for a workspace with configurable expiry. Requires the
    WSE Preview module.
  • Delete workspace (workspace_delete): Deletes an non-active workspace.

WORKSPACE COMPATIBILITY

This module marks certain operational entity types as ignored by workspaces, allowing them to be saved regardless of the active workspace context.

Currently ignored entity types:

  • ai_agent_decision - Enables compatibility with AI Agents Explorer module
  • ai_log - Compatibility of the AI logging

Activity

Total releases
4
First release
Jan 2026
Latest release
1 month ago
Release cadence
19 days
Stability
0% stable

Release Timeline

Releases

Version Type Release date
1.0.0-alpha3 Pre-release Mar 18, 2026
1.0.0-alpha2 Pre-release Mar 17, 2026
1.0.0-alpha1 Pre-release Jan 20, 2026
1.0.x-dev Dev Jan 20, 2026