You are here

function simplenews_statistics_encoder_menu in Simplenews Statistics 7

Same name and namespace in other branches
  1. 7.2 simplenews_statistics_encoder/simplenews_statistics_encoder.module \simplenews_statistics_encoder_menu()

Implements hook_menu().

File

simplenews_statistics_encoder/simplenews_statistics_encoder.module, line 20
Main simplenews statistics encoder file.

Code

function simplenews_statistics_encoder_menu() {
  $items['admin/config/services/simplenews/statistics/encoder'] = array(
    'title' => 'Parameter Encoding',
    'type' => MENU_LOCAL_TASK,
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'simplenews_statistics_encoder_settings_form',
    ),
    'access arguments' => array(
      'administer newsletter paramater encoding',
    ),
    'file' => 'simplenews_statistics_encoder.admin.inc',
  );
  return $items;
}