public function ContactFormBlock::defaultConfiguration in Form Block 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/Block/ContactFormBlock.php \Drupal\formblock\Plugin\Block\ContactFormBlock::defaultConfiguration()
Overrides \Drupal\block\BlockBase::settings().
Overrides BlockPluginTrait::defaultConfiguration
File
- src/
Plugin/ Block/ ContactFormBlock.php, line 141
Class
- ContactFormBlock
- Provides a block for contact form.
Namespace
Drupal\formblock\Plugin\BlockCode
public function defaultConfiguration() {
return [
'contact_form' => $this->configFactory
->get('contact.settings')
->get('default_form'),
];
}