Fix config names

This commit is contained in:
Oliver Davies 2020-09-04 19:18:25 +01:00
parent 2617e29dec
commit 061b1177f5
3 changed files with 4 additions and 4 deletions

View file

@ -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 }}';

View file

@ -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

View file

@ -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');
}
/**