You are here

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

Validate.

Overrides PropertyTypeInterface::validate

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

File

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

Class

TextPropertyType
PRIMITIVE PROPERTY TYPES

Code

public static function validate($value) {

  // Pretty much anything can be store in a text field even an object?
  // @TODO check what happens when trying to save an obejct to a varchar field
  // in the db.
  return TRUE;
}