You are here

function tablefield_menu in TableField 7.2

Same name and namespace in other branches
  1. 7.3 tablefield.module \tablefield_menu()

Implements hook_menu().

File

./tablefield.module, line 25
Provides a set of fields that can be used to store tabular data with a node.

Code

function tablefield_menu() {
  return array(
    'tablefield/export/%/%/%/%/%' => array(
      'page callback' => 'tablefield_export_csv',
      'page arguments' => array(
        2,
        3,
        4,
        5,
        6,
      ),
      'title' => 'Export Table Data',
      'access arguments' => array(
        'export tablefield',
      ),
    ),
    'admin/config/content/tablefield' => array(
      'page callback' => 'drupal_get_form',
      'page arguments' => array(
        'tablefield_admin_settings_form',
      ),
      'title' => 'Tablefield',
      'description' => 'Global configuration for the Tablefield module.',
      'access arguments' => array(
        'configure tablefield',
      ),
    ),
  );
}