You are here

function eck_created_property_property_info in Entity Construction Kit (ECK) 7.2

Same name and namespace in other branches
  1. 7.3 plugins/property_behavior/created.inc \eck_created_property_property_info()

Let the system know this property is a date.

1 string reference to 'eck_created_property_property_info'
created.inc in plugins/property_behavior/created.inc

File

plugins/property_behavior/created.inc, line 28

Code

function eck_created_property_property_info($property, $vars) {
  $vars['properties'][$property]['type'] = 'date';
  $vars['properties'][$property]['description'] = t("The date the entity was created.");
  return $vars;
}