Skip to content

Support custom suggest an edit target url from site settings.

Finn Lewis requested to merge feature/213-suggest-an-edit-target into main

This allows us to render the suggest-an-edit link set in the new site settings, available on this branch:

https://gitlab.com/rbgreenwich/dev/gcd/gcd-drupal/-/tree/feature/213-suggest-an-edit

To test, check out that branch,

ddev composer install
ddev drush cim 
ddev drush cr

Before creating a site setting, it should default to use https://outpost-ui.prd.royalgreenwich.gov.uk

Then add a site setting at :

https://gcd-drupal.ddev.site:4443/admin/structure/site_setting_entity/add/suggest_an_edit

The 'Suggest an edit' link at https://gcd-drupal.ddev.site:4443/services/advice-and-support-abuse-survivors should now use the base url set in the site setting field.

Edited by Finn Lewis

Merge request reports

Loading