function radioactivity_arbitrary_source_admin_delete in Radioactivity 5
1 string reference to 'radioactivity_arbitrary_source_admin_delete'
File
- plugins/
radioactivity_arbitrary_source.module, line 215
Code
function radioactivity_arbitrary_source_admin_delete($target, $source) {
$form = array();
drupal_set_title(t('Confirm delete arbitrary source %s for target %t', array(
'%s' => $source,
'%t' => $target,
)));
$form['source'] = array(
'#type' => 'hidden',
'#default_value' => $source,
);
$form['target'] = array(
'#type' => 'hidden',
'#default_value' => $target,
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Delete'),
);
$form['cancel'] = array(
'#value' => l(t('Cancel'), 'admin/settings/radioactivity/arbitrary_sources'),
);
return $form;
}