You are here

function addthis_menu in AddThis 7.2

Same name and namespace in other branches
  1. 5.2 addthis.module \addthis_menu()
  2. 6.3 addthis.module \addthis_menu()
  3. 6.2 addthis.module \addthis_menu()
  4. 7.4 addthis.module \addthis_menu()

Implement of hook_menu().

File

./addthis.module, line 43
Stand alone module file to handle AddThis button integration

Code

function addthis_menu() {
  $items = array();
  $items['admin/config/system/addthis'] = array(
    'title' => t('AddThis'),
    'description' => t('Set username and customize look and feel for <a href="http://www.addthis.com/">AddThis</a> button.'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'addthis_admin_settings',
    ),
    'access arguments' => array(
      'administer addthis',
    ),
    'file' => 'addthis.admin.inc',
  );
  return $items;
}