function entity_modified_property_name in Entity modified 7
Retrieve the last modified property name.
Parameters
string $entity_type: The entity type to retrieve the property name for.
Return value
string|FALSE
- Returns the modified property name for the given entity_type if it exists.
- Else it returns FALSE.
2 calls to entity_modified_property_name()
- entity_modified_entity_update in ./
entity_modified.module - Implements hook_entity_update().
- entity_modified_last in ./
entity_modified.module - Retrieve the last time an entity was modified.
File
- ./
entity_modified.module, line 118 - Hook implementations and frequently used functions for entity modified module.
Code
function entity_modified_property_name($entity_type = NULL) {
$info = entity_get_info($entity_type);
if (isset($info['modified property name'])) {
return $info['modified property name'];
}
return FALSE;
}