function radioactivity_entities in Radioactivity 7
2 calls to radioactivity_entities()
File
- ./
radioactivity.field.inc, line 190
Code
function radioactivity_entities($field_id = NULL, $type = NULL, $entity_id = NULL) {
static $entities = NULL;
if ($entities == NULL) {
$entities = array();
}
if ($entity_id !== NULL) {
$entities[$field_id][$type][] = $entity_id;
}
else {
return $entities;
}
}