function eck_eck_property_types in Entity Construction Kit (ECK) 7.3
Implements hook_eck_property_types().
File
- ./
eck.module, line 1082
Code
function eck_eck_property_types() {
$property_types = array();
$property_types['decimal'] = array(
'label' => t("Decimal"),
'class' => "DecimalPropertyType",
);
$property_types['integer'] = array(
'label' => t("Integer"),
'class' => "IntegerPropertyType",
);
$property_types['text'] = array(
'label' => t("Text"),
'class' => "TextPropertyType",
);
$property_types['fixed_size_text'] = array(
'label' => t("Fixed Size Text"),
'class' => "FixedSizeTextPropertyType",
);
$property_types['long_text'] = array(
'label' => t("Long Text"),
'class' => "LongTextPropertyType",
);
$property_types['blob'] = array(
'label' => t("Blob"),
'class' => "BlobPropertyType",
);
$property_types['datetime'] = array(
'label' => t("Date/Time"),
'class' => "DatetimePropertyType",
);
$property_types['language'] = array(
'label' => t("Language"),
'class' => "LanguagePropertyType",
);
$property_types['uuid'] = array(
'label' => t("UUID"),
'class' => "UUIDPropertyType",
);
$property_types['positive_integer'] = array(
'label' => t("Positive Integer"),
'class' => "PositiveIntegerPropertyType",
);
return $property_types;
}