function apachesolr_mlt_delete_block_form in Apache Solr Search 5.2
Same name and namespace in other branches
- 5 contrib/apachesolr_mlt/apachesolr_mlt.module \apachesolr_mlt_delete_block_form()
- 6 apachesolr.admin.inc \apachesolr_mlt_delete_block_form()
- 6.2 apachesolr.admin.inc \apachesolr_mlt_delete_block_form()
1 string reference to 'apachesolr_mlt_delete_block_form'
- apachesolr_menu in ./
apachesolr.module - Implementation of hook_menu().
File
- ./
apachesolr.admin.inc, line 659 - Administrative pages for the Apache Solr framework.
Code
function apachesolr_mlt_delete_block_form($delta) {
if ($block = apachesolr_mlt_load_block($delta)) {
$form['delta'] = array(
'#type' => 'value',
'#value' => $delta,
);
return confirm_form($form, t('Are you sure you want to delete the Apache Solr content recommendation block %name?', array(
'%name' => $block['name'],
)), 'admin/build/block', t('The block will be deleted. This action cannot be undone.'), t('Delete'), t('Cancel'));
}
}