public function Barcode::defaultConfiguration in Barcodes 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/Block/Barcode.php \Drupal\barcodes\Plugin\Block\Barcode::defaultConfiguration()
Overrides BlockPluginTrait::defaultConfiguration
File
- src/
Plugin/ Block/ Barcode.php, line 115
Class
- Barcode
- Provides a 'Barcode' block.
Namespace
Drupal\barcodes\Plugin\BlockCode
public function defaultConfiguration() {
return [
'type' => 'QRCODE',
'format' => 'SVG',
'value' => '',
'color' => '#000000',
'height' => 100,
'width' => 100,
'padding_top' => 0,
'padding_right' => 0,
'padding_bottom' => 0,
'padding_left' => 0,
'show_value' => FALSE,
] + parent::defaultConfiguration();
}