added hook_entity_info snippet