function ad_channel_admin_confirm_delete_container in Advertisement 6.3
Same name and namespace in other branches
- 5.2 channel/ad_channel.module \ad_channel_admin_confirm_delete_container()
- 6.2 channel/ad_channel.module \ad_channel_admin_confirm_delete_container()
- 7 channel/ad_channel.module \ad_channel_admin_confirm_delete_container()
Confirm whether or not to delete container, and the contained channels.
1 string reference to 'ad_channel_admin_confirm_delete_container'
- ad_channel_menu in channel/
ad_channel.module - Implementation of hook_menu.
File
- channel/
ad_channel.module, line 1019 - Ad Channel module.
Code
function ad_channel_admin_confirm_delete_container($form_state, $container) {
$form = array();
$form['conid'] = array(
'#type' => 'value',
'#value' => $container->conid,
);
return confirm_form($form, t('Are you sure you want to delete the %name container?', array(
'%name' => $container->name,
)), 'admin/content/ad/channel', t('Any channels currently assigned to the %name container will not be deleted, they will be reassigned. <p>This action can not be undone.', array(
'%name' => $container->name,
)), t('Delete'), t('Cancel'));
}