You are here

function feeds_xls_menu in Feeds XLS 7

Implementation of hook_menu().

File

./feeds_xls.module, line 32

Code

function feeds_xls_menu() {
  return array(
    'import/%feeds_importer/xlstemplate' => array(
      'title' => 'Excel template',
      'page callback' => 'feeds_xls_download_template',
      'page arguments' => array(
        1,
      ),
      'access arguments' => array(
        'access content',
      ),
      'file' => 'feeds_xls.template.inc',
      'type' => MENU_CALLBACK,
    ),
    'import/%feeds_importer/populated-template' => array(
      'title' => 'Populated Excel template',
      'page callback' => 'feeds_xls_download_populated_template',
      'page arguments' => array(
        1,
      ),
      'access arguments' => array(
        'access content',
      ),
      'file' => 'feeds_xls.template.inc',
      'type' => MENU_CALLBACK,
    ),
    'feeds_xls/getfile' => array(
      'title' => 'Download Populated Excel template',
      'page callback' => 'feeds_xls_get_populated_template',
      'access arguments' => array(
        'access content',
      ),
      'file' => 'feeds_xls.template.inc',
      'type' => MENU_CALLBACK,
    ),
  );
}