public function TrumbaOpenSpudBlock::blockSubmit in Trumba 2.x
Same name and namespace in other branches
- 8 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');
}