You are here

function radioactivity_http_port_delete in Radioactivity 5

1 string reference to 'radioactivity_http_port_delete'
radioactivity_http_menu in plugins/radioactivity_http.module

File

plugins/radioactivity_http.module, line 95

Code

function radioactivity_http_port_delete($port_id) {
  $form = array();
  drupal_set_title(t('Confirm delete port %id', array(
    '%id' => $port_id,
  )));
  $form['port_id'] = array(
    '#type' => 'hidden',
    '#default_value' => $port_id,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Delete'),
  );
  $form['cancel'] = array(
    '#value' => l(t('Cancel'), 'admin/settings/radioactivity/http_ports'),
  );
  return $form;
}