function computing_entity_property_info_alter in Drupal Computing 7.2
Implements hook_entity_property_info_alter().
File
- ./
computing.entity.inc, line 111 - Code for the entity. This does not allow UI to create Computing Record entities or Computing Application entities. It has to be done in program.
Code
function computing_entity_property_info_alter(&$entity_info) {
if (isset($entity_info['computing_record'])) {
$entity_info['computing_record']['properties']['created']['type'] = 'date';
$entity_info['computing_record']['properties']['changed']['type'] = 'date';
}
}