diff --git a/tools/ansible/vars/deploy_vars.yml b/tools/ansible/vars/deploy_vars.yml index e619777ab..dc900c20b 100644 --- a/tools/ansible/vars/deploy_vars.yml +++ b/tools/ansible/vars/deploy_vars.yml @@ -54,4 +54,4 @@ drupal_settings: $settings['reverse_proxy_header'] = 'CF-Connecting-IP'; $settings['omit_vary_cookie'] = TRUE; - $config['opdavies_talks.config']['zapier_post_tweet_url'] = '{{ zapier_post_tweet_url }}'; + $config['opdavies_blog.settings']['zapier_post_tweet_url'] = '{{ zapier_post_tweet_url }}'; diff --git a/web/modules/custom/opdavies_blog/config/schema/opdavies_blog.schema.yml b/web/modules/custom/opdavies_blog/config/schema/opdavies_blog.schema.yml index e7fbf81f0..5ef5baf3f 100644 --- a/web/modules/custom/opdavies_blog/config/schema/opdavies_blog.schema.yml +++ b/web/modules/custom/opdavies_blog/config/schema/opdavies_blog.schema.yml @@ -1,6 +1,6 @@ -opdavies_talks.settings: +opdavies_blog.settings: type: config_object - label: 'Talks module configuration' + label: 'Blog module configuration' mapping: zapier_post_tweet_url: type: string diff --git a/web/modules/custom/opdavies_blog/src/EventSubscriber/PushBlogPostToSocialMedia.php b/web/modules/custom/opdavies_blog/src/EventSubscriber/PushBlogPostToSocialMedia.php index 367c23658..5418a27f9 100644 --- a/web/modules/custom/opdavies_blog/src/EventSubscriber/PushBlogPostToSocialMedia.php +++ b/web/modules/custom/opdavies_blog/src/EventSubscriber/PushBlogPostToSocialMedia.php @@ -24,7 +24,7 @@ final class PushBlogPostToSocialMedia implements EventSubscriberInterface { Client $client ) { $this->client = $client; - $this->config = $configFactory->get('opdavies_talks.config'); + $this->config = $configFactory->get('opdavies_blog.settings'); } /**