You are here

public static function IntegerPropertyType::schema in Entity Construction Kit (ECK) 7.3

Schema.

Overrides PropertyTypeInterface::schema

1 call to IntegerPropertyType::schema()
PositiveIntegerPropertyType::schema in ./eck.property_type.inc
Schema.
1 method overrides IntegerPropertyType::schema()
PositiveIntegerPropertyType::schema in ./eck.property_type.inc
Schema.

File

./eck.property_type.inc, line 253
Property types.

Class

IntegerPropertyType

Code

public static function schema() {
  $schema = array(
    'description' => "Integer",
    'type' => 'int',
    'size' => 'normal',
    'not null' => TRUE,
    'default' => 0,
    // Relevant only to int and float.
    'unsigned' => FALSE,
  );
  return $schema;
}