You are here

public static property MatrixBarcodeItem::$types in Barcode 8

An array of barcode types this widget supports.

Type: array $types

Overrides BarcodeBase::$types

File

src/Plugin/Field/FieldType/MatrixBarcodeItem.php, line 21

Class

MatrixBarcodeItem
Defines the 'barcode_matrix' field type.

Namespace

Drupal\barcode\Plugin\Field\FieldType

Code

public static $types = [
  'DATAMATRIX' => [
    'name' => 'DATAMATRIX (ISO/IEC 16022)',
    'length' => 255,
    'type' => 'mixed',
    'placeholder' => '',
    'description' => '',
  ],
  'PDF417' => [
    'name' => 'PDF417 (ISO/IEC 15438:2006)',
    'length' => 255,
    'type' => 'mixed',
    'placeholder' => '',
    'description' => '',
  ],
  'SRAW' => [
    'name' => '2D RAW MODE (comma-separated rows of 01 strings)',
    'length' => 255,
    'type' => 'mixed',
    'placeholder' => '',
    'description' => '',
  ],
];