You are here

function eck_changed_property_property_info in Entity Construction Kit (ECK) 7.2

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

Let the system know that this property is a date.

1 string reference to 'eck_changed_property_property_info'
changed.inc in plugins/property_behavior/changed.inc

File

plugins/property_behavior/changed.inc, line 28

Code

function eck_changed_property_property_info($property, $vars) {
  $vars['properties'][$property]['type'] = 'date';
  $vars['properties'][$property]['description'] = t("The last time this entity was updated.");
  return $vars;
}