public function CartBlockBase::defaultConfiguration in Commerce Cart Blocks 8
Overrides BlockPluginTrait::defaultConfiguration
1 call to CartBlockBase::defaultConfiguration()
- CartBlock::defaultConfiguration in src/
Plugin/ Block/ CartBlock.php
1 method overrides CartBlockBase::defaultConfiguration()
- CartBlock::defaultConfiguration in src/
Plugin/ Block/ CartBlock.php
File
- src/
Plugin/ Block/ CartBlockBase.php, line 72
Class
- CartBlockBase
- CartBlockBase class.
Namespace
Drupal\commerce_cart_blocks\Plugin\BlockCode
public function defaultConfiguration() {
return [
'hide_if_empty' => FALSE,
'display_links' => [
'cart' => 'cart',
],
'cart_link_text' => 'Cart',
'checkout_link_text' => 'Checkout',
'count_text_singular' => '@count item',
'count_text_plural' => '@count items',
'count_text_empty' => '',
];
}