diff --git a/src/Plugin/Block/ContactBlock.php b/src/Plugin/Block/ContactBlock.php index 5e4324d..9ca8c21 100644 --- a/src/Plugin/Block/ContactBlock.php +++ b/src/Plugin/Block/ContactBlock.php @@ -139,7 +139,7 @@ class ContactBlock extends BlockBase implements ContainerFactoryPluginInterface * {@inheritdoc} */ public function defaultConfiguration() { - $default_form = $this->configFactory->get('config.factory')->get('default_form'); + $default_form = $this->configFactory->get('contact.settings')->get('default_form'); return array( 'label' => t('Contact block'),