Fix config names
This commit is contained in:
parent
2617e29dec
commit
061b1177f5
|
@ -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 }}';
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue