public function CartBlock::blockSubmit in Commerce Cart Flyout 8
Overrides BlockPluginTrait::blockSubmit
File
- src/
Plugin/ Block/ CartBlock.php, line 102
Class
- CartBlock
- Provides a cart block.
Namespace
Drupal\commerce_cart_flyout\Plugin\BlockCode
public function blockSubmit($form, FormStateInterface $form_state) {
$this->configuration['use_quantity_count'] = $form_state
->getValue('use_quantity_count');
}