public function Barcode::defaultConfiguration in Barcodes 8
Same name and namespace in other branches
- 2.0.x src/Plugin/Block/Barcode.php \Drupal\barcodes\Plugin\Block\Barcode::defaultConfiguration()
Overrides BlockPluginTrait::defaultConfiguration
File
- src/
Plugin/ Block/ Barcode.php, line 76
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();
}