function party_activity_command_fullcalendar_delete in Party 7
Ajax command to remove an event from a calendar.
File
- modules/
party_activity/ party_activity.ajax.inc, line 31 - Ajax Commands Provided by Party Activity
Code
function party_activity_command_fullcalendar_delete($activity, $view) {
$command = array(
'fullcalendar_selector' => '.fullcalendar',
'command' => 'fullcalendar_activity_delete',
'entity_type' => 'party_activity',
'eid' => $activity->id,
);
drupal_alter('party_activity_fullcalendar_event_command', $command, $activity, $view);
return $command;
}