You are here

function addtoany_menu in AddToAny Share Buttons 7.4

Same name and namespace in other branches
  1. 5.2 addtoany.module \addtoany_menu()
  2. 5.0 addtoany.module \addtoany_menu()
  3. 6.3 addtoany.module \addtoany_menu()
  4. 6.2 addtoany.module \addtoany_menu()
  5. 7 addtoany.module \addtoany_menu()
  6. 7.3 addtoany.module \addtoany_menu()

Implements hook_menu().

File

./addtoany.module, line 88
Stand alone module file to handle AddToAny buttons integration

Code

function addtoany_menu() {
  $items = array();
  $items['admin/config/services/addtoany'] = array(
    'title' => t('AddToAny'),
    'description' => t('Settings for your <a href="https://www.addtoany.com/" target="blank">AddToAny</a> share buttons.'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'addtoany_admin_settings',
    ),
    'access arguments' => array(
      'administer addtoany',
    ),
    'file' => 'addtoany.admin.inc',
  );
  return $items;
}