You are here

function filemime_apply in File MIME 7

Generates confirm form.

1 string reference to 'filemime_apply'
filemime_menu in ./filemime.module
Implements hook_menu().

File

./filemime.admin.inc, line 30
Admin page callbacks for File MIME module.

Code

function filemime_apply() {
  $form = array();
  $question = t('Apply MIME type mapping to all uploaded files?');
  $description = t('Are you sure you want to apply the configured MIME type mapping to all previously uploaded files? The MIME type for @count uploaded files will be regenerated.', array(
    '@count' => filemime_count(),
  ));
  return confirm_form($form, $question, 'admin/config/media/filemime', $description, t('Apply'));
}