Created
August 22, 2013 18:53
-
-
Save dmouse/6311262 to your computer and use it in GitHub Desktop.
Drupal 8, OAuth sample hook_menu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function oauth_menu() { | |
| //... | |
| $menu['admin/config/services/oauth'] = array( | |
| 'title' => 'OAuth', | |
| 'description' => 'Settings for OAuth', | |
| 'route_name' => 'oauth_admin_form', | |
| 'type' => MENU_NORMAL_ITEM, | |
| ); | |
| //... | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment