- Issue created by @james hawthorn-byng
- Assigned to viren18febS
- Issue was unassigned.
- 🇮🇳India viren18febS
I have checked this issue in Drupal 9 & 10. after followed the Reproduce steps, I am able to get the 'vwo' in Inspect DOM & getting the id with this code. so we no need to change the code in hook_page_attachemnts().
$config = \Drupal::config('vwo.settings'); $id = $config->get('id');
- Status changed to Needs review
over 1 year ago 10:43am 28 August 2023 - Status changed to Closed: won't fix
over 1 year ago 12:42pm 28 August 2023 - 🇮🇳India keshavv India
@James Hawthorn-Byng Not able to reproduce the issue. I am able to retrieve the ID from the configuration.
The method mentioned in solution$config = \Drupal::configFactory()->getEditable('vwo.settings');
will provide the override config value that is written in the settings.php file.