You are here

function radioactivity_incident_emit in Radioactivity 7

Emit the indicental energy of the field

Parameters

field ID $field_id:

entity ID $entity_id:

1 call to radioactivity_incident_emit()
radioactivity_ajax_callback in ./radioactivity.module
Page ajax callback

File

./radioactivity.module, line 149

Code

function radioactivity_incident_emit($field_id, $entities) {
  $storage = radiactivity_get_incident_storage($field_id);
  if ($storage) {
    $storage
      ->add_incident($entities);
  }
  else {
    print "No storage";
  }
}