Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Gherkin Script

No security coverage Under active development 90 sites

This module provides a media entity for storing Gherkin scripts directly within your Drupal site. It includes a field type, widget, and formatter for managing these scripts.

Gherkin Script adds a Gherkin media source to Drupal, so you can keep Gherkin/Cucumber feature scripts as reusable media items and edit them with syntax highlighting in the Ace Editor.

Features

  • A Media source plugin for Gherkin scripts.
  • A ready-to-use Feature media type with a Gherkin script field, including form and view displays for the Media Library.
  • A dedicated Gherkin text format and editor configuration powered by Ace Editor.
  • A vertically resizable editor area for longer scripts.

Requirements

  • Drupal ^11.4 || ^12
  • Core Media and Text Editor modules
  • Ace Editor ^2.0.5, which requires the Ace library itself through vardot/ace.

No asset-packagist, npm-asset repositories or custom installer-paths are needed — Composer places the Ace library at web/libraries/ace through the standard type:drupal-library installer path.

Installation

ddev composer require drupal/gherkin
ddev drush en gherkin -y

For further information, see Installing Drupal Modules.

Configuration

After you enable the module, the Feature media type and the Gherkin text format are available. Adjust them under Structure » Media types and Configuration » Content authoring » Text formats and editors.

Usage

Add a Feature media item (Content » Media » Add media » Feature), or pick one from the Media Library, and write your Gherkin scenarios in the Ace-powered editor.

Drupal 11 · not 10

Ask your assistant about Gherkin Script

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

1 tracked project depends on this one

Activity

Tracked releases
6
Tracked since
Dec 2023
Latest release
1 week ago
Releases (12 mo)
3 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.5 Stable 11 Sep 29, 2026
1.0.4 Stable 11 Sep 23, 2026
1.0.3 Stable 11 Sep 19, 2026
1.0.2 Stable 11 Jan 4, 2025
1.0.1 Stable 11 May 27, 2024
1.0.0 Stable 9 Dec 23, 2023