You are here

public function CreditMessaging::defaultConfiguration in Commerce PayPal 8

Overrides BlockPluginTrait::defaultConfiguration

File

src/Plugin/Block/CreditMessaging.php, line 22

Class

CreditMessaging
Provides a PayPal credit messaging block.

Namespace

Drupal\commerce_paypal\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'placement' => 'home',
    'style' => 'flex',
    'color' => 'blue',
    'ratio' => '1x1',
    'logo_type' => 'primary',
    'logo_position' => 'left',
    'text_size' => '12',
    'text_color' => 'black',
  ];
}