You are here

public function CartBlock::blockSubmit in Commerce Core 8.2

Overrides BlockPluginTrait::blockSubmit

File

modules/cart/src/Plugin/Block/CartBlock.php, line 103

Class

CartBlock
Provides a cart block.

Namespace

Drupal\commerce_cart\Plugin\Block

Code

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