function node_uuid_entities_features_export_entity_alter in Universally Unique IDentifier 7
Implements hook_uuid_entities_features_export_entity_alter().
Related topics
File
- ./
uuid.core.inc, line 396 - Implementation of UUID hooks for all core modules.
Code
function node_uuid_entities_features_export_entity_alter(&$entity, $entity_type) {
if ('node' != $entity_type) {
return;
}
$properties = array(
'data',
'name',
'picture',
'revision_uid',
'last_comment_timestamp',
);
foreach ($properties as $property) {
if (property_exists($entity, $property)) {
unset($entity->{$property});
}
}
}