Settings form is broken when config_translation is not installed

Created on 6 May 2025, 7 days ago

Problem/Motivation

The module's settings form includes a button that links to the configuration translation interface for its settings. However, the form currently attempts to build the URL unconditionally. If the Configuration Translation module is not enabled, this results in a fatal error.

Steps to reproduce

  1. Install this module on a site where the config_translation module is not enabled.
  2. Navigate to the module’s settings form.

Proposed resolution

Add a check to confirm that the config_translation module is enabled before attempting to build the link to the translation interface.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium Joris Handstanger

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024