public function TrumbaOpenSpudBlock::blockSubmit in Trumba 8
Same name and namespace in other branches
- 2.x src/Plugin/Block/TrumbaOpenSpudBlock.php \Drupal\trumba\Plugin\Block\TrumbaOpenSpudBlock::blockSubmit()
Overrides TrumbaBlockBase::blockSubmit
File
- src/
Plugin/ Block/ TrumbaOpenSpudBlock.php, line 51
Class
- TrumbaOpenSpudBlock
- Provides a 'TrumbaOpenSpudBlock' block.
Namespace
Drupal\trumba\Plugin\BlockCode
public function blockSubmit($form, FormStateInterface $form_state) {
parent::blockSubmit($form, $form_state);
$this->configuration['trumba_open_spud_spud_type'] = $form_state
->getValue('trumba_open_spud_spud_type');
$this->configuration['trumba_open_spud_spud_configuration'] = $form_state
->getValue('trumba_open_spud_spud_configuration');
}