Drupal is a registered trademark of Dries Buytaert

paragraphs_source_edit

5 sites No security coverage
View on drupal.org

Summary: Lets you edit the source (default language) of Paragraphs at the same translations/edit path as other languages—ending 404s for source and easing fixes for library/orphan paragraphs.

Full details are in the project README.md.

Features

  • Source-language editing: Enables /paragraphs/{paragraph}/translations/edit/{language} for the source language (e.g., en), not just translations.
  • Drop-in route alter: No configuration screens; immediately extends the existing translations edit route.
  • Access preserved: Honors normal update access on the Paragraph and caches per permissions.
  • Orphan recovery: Allows editing source paragraphs even when temporarily not attached to a parent.
  • Library-friendly: Complements Paragraphs Library workflows by providing a direct source edit link.

When to use it: If you use Paragraphs with Content Translation and the “asymmetric translation widgets” approach, this module gives authors an immediate, predictable source-language edit path and removes 404s for source paragraphs.

Post-Installation

  1. Enable the module (Composer or UI) and clear caches.
  2. Verify the route is active: drush core:route | grep -E \"/paragraphs/.*/translations/edit\".
  3. Use the paths:
    • Source edit: /<lang-prefix>/paragraphs/{pid}/translations/edit/<source-lang> (e.g., /en/paragraphs/123/translations/edit/en)
    • Translation edit: unchanged (e.g., /fr/paragraphs/123/translations/edit/fr)
  4. No configuration forms are required. The module only alters the existing translations edit route.

Additional Requirements

  • Drupal 10 or 11
  • Paragraphs module
  • Content Translation module
  • paragraphs_asymmetric_translation_widgets module (route provider we extend)
  • Paragraphs Library (optional) – manage reusable paragraph collections; this module complements it.
  • Admin Toolbar – quicker navigation when testing edit routes.

Similar projects

paragraphs_asymmetric_translation_widgets alone exposes translation edit links only for non-source languages; source edits are expected via the parent entity. This module adds a source-language edit path at the same URL pattern, preserving access and cacheability. Upstream core/Paragraphs patches can sometimes approximate this but are riskier to maintain; this module is a focused, configuration-free solution.

Supporting this Module

If you find this useful, consider opening issues, sharing feedback, or contributing tests/patches.

Community Documentation

Activity

Total releases
5
First release
Oct 2025
Latest release
4 months ago
Release cadence
0 days
Stability
80% stable

Release Timeline

Releases

Version Type Release date
1.0.3 Stable Oct 9, 2025
1.0.2 Stable Oct 9, 2025
1.0.1 Stable Oct 9, 2025
1.0.0 Stable Oct 9, 2025
1.0.x-dev Dev Oct 9, 2025