You are here

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\Block

Code

public function blockSubmit($form, FormStateInterface $form_state) {
  $this->configuration['use_quantity_count'] = $form_state
    ->getValue('use_quantity_count');
}