function feedapi_purge_confirm in FeedAPI 5
Same name and namespace in other branches
- 6 feedapi.module \feedapi_purge_confirm()
Ask for confirmation before deleting all the items
1 string reference to 'feedapi_purge_confirm'
- _feedapi_invoke_purge in ./
feedapi.module - Helper function for feedapi_invoke(). Delete all feed items of a feed.
File
- ./
feedapi.module, line 251 - Handle the submodules (for feed and item processing) Provide a basic management of feeds
Code
function feedapi_purge_confirm($node) {
$output = confirm_form(array(
'nid' => array(
'#type' => hidden,
'#value' => $node->nid,
),
), t('Delete all the feed items from !name', array(
'!name' => $node->title,
)), 'node/' . $node->nid, t("Are you sure you want to delete all the feed items from !name?", array(
'!name' => $node->title,
)), t('Yes'), t('No'), 'feedapi_purge_confirm');
return $output;
}