You are here

function theme_activity_delete_link in Activity 5.4

Same name and namespace in other branches
  1. 6 activity.module \theme_activity_delete_link()

Theme function to create a link to delete a single activity record.

1 theme call to theme_activity_delete_link()
activity_delete_link in ./activity.module
Check if user has right to delete a single activity record and if so, return a the activity record delete link.

File

./activity.module, line 1064
activity.module

Code

function theme_activity_delete_link($activity) {
  return l('X', 'activity/delete/' . $activity['aid'], array(
    'title' => t('Delete this activity record'),
    'class' => 'activity-delete-record',
  ), drupal_get_destination());
}