Skip to content

Instantly share code, notes, and snippets.

@a-fro
Created April 10, 2013 13:08
Show Gist options
  • Select an option

  • Save a-fro/5354472 to your computer and use it in GitHub Desktop.

Select an option

Save a-fro/5354472 to your computer and use it in GitHub Desktop.
<?php
/**
* Implements hook_menu().
*/
function bean_tweets_menu() {
$items = array();
$items['admin/config/system/bean_tweets'] = array(
'title' => t('Bean Tweets OAuth'),
'description' => t('Configure OAuth for Bean Tweets module'),
'page callback' => 'drupal_get_form',
'page arguments' => array('bean_tweets_admin'),
'file' => 'includes/bean_tweets.admin.inc',
'access arguments' => array('access administration pages'),
'type' => MENU_NORMAL_ITEM,
);
return $items;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment