You are here

public function CartBlock::defaultConfiguration in Ubercart 8.4

Overrides BlockPluginTrait::defaultConfiguration

File

uc_cart/src/Plugin/Block/CartBlock.php, line 87

Class

CartBlock
Provides the shopping cart block.

Namespace

Drupal\uc_cart\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'hide_empty' => FALSE,
    'show_image' => TRUE,
    'collapsible' => TRUE,
    'collapsed' => TRUE,
    'label_display' => BlockPluginInterface::BLOCK_LABEL_VISIBLE,
  ];
}