You are here

function clamav_menu in ClamAV 7

Same name and namespace in other branches
  1. 6 clamav.module \clamav_menu()

Implements hook_menu().

File

./clamav.module, line 68
Integrate ClamAV to allow uploaded files to be scanned for viruses.

Code

function clamav_menu() {
  return array(
    'admin/config/media/clamav' => array(
      'title' => 'Anti-virus (ClamAV)',
      'description' => 'Configure ClamAV virus scanner for file / image fields.',
      'page callback' => 'drupal_get_form',
      'page arguments' => array(
        'clamav_admin_settings',
      ),
      'access arguments' => array(
        'administer site configuration',
      ),
      'file' => 'clamav.admin.inc',
    ),
  );
}