how to retrieve all entities associated with a profile?
12 Mar
2014
12 Mar
'14
8:44 p.m.
Hello Drupal community! Does anyone know how I can retrieve all entities associated with a profile2 content type? If I try via this method I get a NULL object: if (module_exists('profile2')) { foreach (profile2_get_types() as $type) { // the following returns correctly the Profile Type object: //dpm (profile2_type_load($type->type)); // the following returns NULL //dpm (profile2_load($type->id)); } } Thanks for your help! -- Info Razor Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
4456
Age (days ago)
4456
Last active (days ago)
0 comments
1 participants
participants (1)
-
Info Razor