I tried updating the array with `AU` but it didn't help.
$countryFormatSpecial = ['AU', 'FR', 'CA', 'IE', 'IN', 'IL', 'HK', 'MY', 'OM',
'NZ', 'PH', 'SA', 'SE', 'SG', 'LK', 'TH', 'UK', 'US', 'VN',
];
I actually updated it for all the providers, in case there was an inheritance, but no good either.
I also tried changing the output by adding text at the start of both options in the if else.
foreach ($content["features"] as $key => $feature) {
$results[$key]['street_name'] = $feature["text"];
if (!empty($feature["address"])) {
if (!empty($country) && in_array($country, $countryFormatSpecial)) {
$results[$key]['street_name'] = 'Thisisedited' . $feature["address"] . ' ' . $results[$key]['street_name'];
}
else {
$results[$key]['street_name'] .= 'Thisisedited' . isset($feature["address"]) ? ', ' . $feature["address"] : '';
}
}
But after clearing cache and running cron, resaving the node, trying creating a new node, there was no change to the output.
Double checked that Australia was set in Regional settings and also changed to France, but no change.
Any other ideas?
spanners → created an issue.
I'm using this module for multiple Drupal 9 sites that are the backend for Next.js and Gatsby JS. sites. Are there any plans to get this patch in place so we can us this on Drupal 10 sites?
Since the CKEditor core module is deprecated and CKEDitor 5 is on D10, I looked through the docs to see if I could update the CK Editor 5 config with a baseURL (kinda like https://ckeditor.com/old/forums/CKEditor-3.x/CKEditor-Image-Properties-A...) but have had no luck so far. So I'd be keen to have this module working on D10, please. 🙏🏻