Issue #3509423: Make Google API Key configurable
requested to merge issue/guesthouse_lite-3509423:3509423-make-google-api-key-configurable into 8.x-1.x-dev
Main Changes
Added google_maps_key setting:
- Defined in guesthouse_lite.info.yml.
- Added to the schema in guesthouse_lite.schema.yml.
Display the key in theme settings:
- Created a new field in the theme settings form (theme-settings.php).
- Grouped under the "Google API Key" tab.
Make the configuration available for templates:
- Modified guesthouse_lite.theme to retrieve theme_get_setting('google_maps_key').
Edited by Brandon Lira