public function CartBlock::blockSubmit in Commerce Cart Blocks 8
Overrides CartBlockBase::blockSubmit
1 call to CartBlock::blockSubmit()
- CartButtonBlock::blockSubmit in src/
Plugin/ Block/ CartButtonBlock.php
1 method overrides CartBlock::blockSubmit()
- CartButtonBlock::blockSubmit in src/
Plugin/ Block/ CartButtonBlock.php
File
- src/
Plugin/ Block/ CartBlock.php, line 64
Class
- CartBlock
- Provides a cart block.
Namespace
Drupal\commerce_cart_blocks\Plugin\BlockCode
public function blockSubmit($form, FormStateInterface $form_state) {
$this->configuration['display_heading'] = $form_state
->getValue('display_heading');
$this->configuration['heading_text'] = $form_state
->getValue('heading_text');
$this->configuration['show_items'] = $form_state
->getValue('show_items');
parent::blockSubmit($form, $form_state);
}