function apachesolr_mlt_delete_block_form in Apache Solr Search 6
Same name and namespace in other branches
- 5.2 apachesolr.admin.inc \apachesolr_mlt_delete_block_form()
- 5 contrib/apachesolr_mlt/apachesolr_mlt.module \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 691 - Administrative pages for the Apache Solr framework.
Code
function apachesolr_mlt_delete_block_form($form_state, $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'));
}
}