You are here

private function CartBlockBase::getOrderTypeIds in Commerce Cart Blocks 8

1 call to CartBlockBase::getOrderTypeIds()
CartBlockBase::getAvailableViews in src/Plugin/Block/CartBlockBase.php

File

src/Plugin/Block/CartBlockBase.php, line 364

Class

CartBlockBase
CartBlockBase class.

Namespace

Drupal\commerce_cart_blocks\Plugin\Block

Code

private function getOrderTypeIds(array $carts) {
  return array_map(function ($cart) {
    return $cart
      ->bundle();
  }, $carts);
}