You are here

function amazons3_menu in AmazonS3 7

Same name and namespace in other branches
  1. 7.2 amazons3.module \amazons3_menu()

Implements hook_menu().

File

./amazons3.module, line 26
Provides S3 stream wrapper

Code

function amazons3_menu() {
  $items = array();
  $items['admin/config/media/amazons3'] = array(
    'title' => 'Amazon S3',
    'description' => 'Configure S3 credentials and settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'amazons3_admin',
    ),
    'access arguments' => array(
      'administer amazons3',
    ),
  );
  return $items;
}