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.

Issue fork book_pdfs-3522928

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

joris handstanger created an issue. See original summary.

jhandsta’s picture

Status: Active » Needs review
joseph.olstad’s picture

Status: Needs review » Reviewed & tested by the community

Very good thanks for this!

joseph.olstad’s picture

Status: Reviewed & tested by the community » Fixed
joseph.olstad’s picture

joseph.olstad’s picture

Status: Fixed » Active
joseph.olstad’s picture

Status: Active » Fixed
joseph.olstad’s picture

Assigned: jhandsta » Unassigned

Thank you @joris

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.