public static function LongTextPropertyType::validate in Entity Construction Kit (ECK) 7.3
Validate.
Overrides PropertyTypeInterface::validate
File
- ./
eck.property_type.inc, line 238 - Property types.
Class
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;
}