You are here

public static function RangeIntegerItem::getColumnSpecification in Range 8

Helper function. Returns Schema API column specification.

Parameters

\Drupal\Core\Field\FieldStorageDefinitionInterface $field_definition: The field definition.

Return value

array Schema API column specification.

Overrides RangeItemInterface::getColumnSpecification

File

src/Plugin/Field/FieldType/RangeIntegerItem.php, line 32

Class

RangeIntegerItem
Plugin implementation of the 'range_integer' field type.

Namespace

Drupal\range\Plugin\Field\FieldType

Code

public static function getColumnSpecification(FieldStorageDefinitionInterface $field_definition) {
  return [
    'type' => 'int',
  ];
}