public function ContactInfoBlock::blockSubmit in Brainstorm profile 8
Overrides BlockPluginTrait::blockSubmit
File
- module/
custom/ adci_contact_info/ src/ Plugin/ Block/ ContactInfoBlock.php, line 159
Class
- ContactInfoBlock
- Provides an contact info block.
Namespace
Drupal\adci_contact_info\Plugin\BlockCode
public function blockSubmit($form, FormStateInterface $form_state) {
$values = $form_state
->getValues();
$this->configuration['info'] = $values['info']['info'];
$this->configuration['site'] = $values['site'];
$this->configuration['email'] = $values['email'];
}