Drupal is a registered trademark of Dries Buytaert
cms 2.1.0 Update released for Drupal core (2.1.0)! menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.0 Minor update available for module eca (3.1.0). sophron 3.1.1 Minor update available for module sophron (3.1.1). ai 1.3.1 Minor update available for module ai (1.3.1). seven 2.0.0-beta6 New beta version released for theme seven (2.0.0-beta6). seven 1.0.1-beta1 First beta version released for theme seven (1.0.1-beta1). crop Module crop crossed 1,000 active installs. entity_reference_revisions Module entity_reference_revisions crossed 1,000 active installs. address Module address crossed 1,000 active installs. admin_toolbar Module admin_toolbar crossed 1,000 active installs. editoria11y 3.0.0-beta8 New beta version released for module editoria11y (3.0.0-beta8). adv_varnish 4.0.15 Minor update available for module adv_varnish (4.0.15). editoria11y 3.0.0-beta7 New beta version released for module editoria11y (3.0.0-beta7). modeler_api 1.1.0 Minor update available for module modeler_api (1.1.0). form_mode_control 8.x-2.6 Minor update available for module form_mode_control (8.x-2.6). symfony_mailer_log 1.2.4 Minor update available for module symfony_mailer_log (1.2.4). cms_content_sync 3.2.1 Minor update available for module cms_content_sync (3.2.1). modal_page 5.1.9 Minor update available for module modal_page (5.1.9). drupal_cms_helper 2.1.0 Minor update available for module drupal_cms_helper (2.1.0).

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

Total releases
1
First release
Mar 2026
Latest release
9 hours ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Mar 25, 2026