You are here

function whatsappshare_menu in Whatsapp Share 7

Same name and namespace in other branches
  1. 7.3 whatsappshare.module \whatsappshare_menu()
  2. 7.2 whatsappshare.module \whatsappshare_menu()

Implements menu hook().

File

./whatsappshare.module, line 11
Help to share your content on whatsapp.

Code

function whatsappshare_menu() {
  $items = array();
  $items['admin/config/services/whatsappshare'] = array(
    'title' => 'Whatsapp Share',
    'description' => 'Help to share your content on whatsapp',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'whatsappshare_form',
    ),
    'access arguments' => array(
      'administer whatsappshare',
    ),
    'file' => 'whatsappshare.admin.inc',
  );
  return $items;
}