You are here

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

Schema.

Overrides PropertyTypeInterface::schema

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

File

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

Class

TextPropertyType
PRIMITIVE PROPERTY TYPES

Code

public static function schema() {
  $schema = array(
    'description' => 'Text',
    'type' => 'varchar',
    'not null' => TRUE,
    'default' => '',
    // Relevant only to: varchar, char, and text.
    'length' => 255,
  );
  return $schema;
}