public static function LanguagePropertyType::validate in Entity Construction Kit (ECK) 7.3
Validate.
Overrides TextPropertyType::validate
File
- ./
eck.property_type.inc, line 375 - Property types.
Class
- LanguagePropertyType
- SPECIAL PROPERTY TYPES
Code
public static function validate($value) {
// Make sure it is text.
if (parent::validate($value)) {
// @TODO check with the language people, what kind of validation can we
// do here.
return TRUE;
}
return FALSE;
}