Drupal is a registered trademark of Dries Buytaert
Release: Leaflet 10.4.11 Minor update available for module leaflet (10.4.11). Release: Session Inspector 1.0.8 Minor update available for module session_inspector (1.0.8). Release: Migrate QA 2.0.4 Minor update available for module migrate_qa (2.0.4). Release: CKEditor Description List 3.0.0 Major update available for module ckeditor_descriptionlist (3.0.0). Release: FlowDrop 2.4.0 Minor update available for module flowdrop (2.4.0). Release: JWT Token Refresh 1.0.4 Minor update available for module jwt_token_refresh (1.0.4). Release: ConReg 1.0.0-beta1 First beta version released for module conreg (1.0.0-beta1). Release: AI Image Studio 1.0.0-beta8 New beta version released for module ai_image_studio (1.0.0-beta8). Usage Milestone: Statistics Counter Module statistics_counter crossed 1,000 active installs. Module Revived: Decoupled Router 2.0.7 Module decoupled_router updated after 11 months of inactivity (2.0.7).

Content Patch GitLab API

2 sites No security coverage
View on drupal.org

This module allows you to export specific content from your Drupal site, such as nodes or media, directly to a GitLab repository as a Merge Request. This enables editors to contribute demo content for site templates without needing Git knowledge.

The Content Patch GitLab API module provides a streamlined workflow for exporting specific content entities (Nodes, Media, Terms) directly from a Drupal site to a GitLab repository as a Merge Request.

While Drupal 11’s Site Templates (part of Drupal CMS 2.0) allow for a full site export (drush site:export), they often follow an "all or nothing" approach. This module fills the gap by allowing editors and administrators to select and export granular "Demo Content" to be used in future installations or site template distributions.

This module allows editors to create high-quality demo content on a staging environment and contribute it back to the technical site template repository without needing Git CLI knowledge.

Features

  • Granular Export: Export individual nodes or entities directly from the content overview (/admin/content) via Bulk Operations
  • Dependency Tracking: Automatically detects and includes referenced entities such as Media, Taxonomy Terms, and Canvas Pages (Drupal CMS)
  • GitLab Integration: Creates a Merge Request (MR) directly in a configured GitLab repository (similar to Config Patch GitLab API)
  • Flexible Delivery: Choose between a direct GitLab MR
  • Site Template Ready: Exported content is structured to be easily integrated into Drupal’s "Site Template" workflow for fresh installations
  • Developer Friendly: Built to work with Drupal CMS 2.0 and standard Drupal 11 core functions

Post-Installation

How does this module actually work once I install it? Should I go to a config page? Should I look for a new content type? Should I go and manage my text formats? Provide an overview of the configuration process and any other special considerations for the module.

Additional Requirements

Does this project need anything beyond Drupal core? Include any dependent modules, libraries, APIs, etc., that are required for this project to work.

Configuration

Administrators can configure:

  • The target GitLab Repository and API Token
  • The specific export path within the repository
  • Permissions for which roles can trigger the export operations

Relationship to other modules

  • Config Patch GitLab API: This module serves as the content-centric counterpart, focusing on entity data rather than configuration
  • Drupal Core (Site Templates): Enhances the core export functionality by adding granularity and a UI-based contribution workflow for non-technical users

Activity

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

Release Timeline

Releases

Version Type Release date
1.0.0-alpha4 Pre-release Apr 1, 2026
1.0.0-alpha3 Pre-release Mar 25, 2026
1.0.0-alpha1 Pre-release Mar 25, 2026