Make google API key configurable

Created on 27 February 2025, 3 months ago

Problem/Motivation

The google API key (https://git.drupalcode.org/project/catalog_lite/-/blob/8.x-1.x/config/in...)

Is not configurable through an UI.

Steps to reproduce

N/A

Proposed resolution

Make a settings form that allows a site owner to set and change the API key.

Remaining tasks

MR

User interface changes

Config form

API changes

N/A

Data model changes

N/A

Feature request
Status

Active

Version

1.4

Component

Code

Created by

🇧🇪Belgium BramDriesen Belgium 🇧🇪

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @BramDriesen
  • First commit to issue fork.
  • Hey,

    I have added the required field to config the Google Maps API key on the /admin/appearance/settings/catalog_lite, under the 3rd party integrations section. The configuration is being properly saved and fetched.

    I am attaching screenshot for reference. Please have a look and let me know if any changes required here.
    Thanks !

  • 🇨🇴Colombia juandhr Manizales

    I have tested the newly added field "Google Maps API Key" in the theme configuration form and confirmed that:

    • The field is properly displayed in the UI.
    • The value is stored correctly in the configuration.
    • The field functions as expected.

    Based on these checks, I am updating the status to Reviewed & tested by the community.

Production build 0.71.5 2024