Last active
May 21, 2018 21:38
-
-
Save kevinguebert/44e7d76105417e17f439107e8f8ddde9 to your computer and use it in GitHub Desktop.
Test Module
This file contains 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
name = "Test Module" | |
description = "Test Module for patches" | |
core = 7.x |
This file contains 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 | |
/** | |
* Implements hook_menu(). | |
*/ | |
function test_module_menu() { | |
$items = array(); | |
// Admin configuration group. | |
$items['admin/config/services/test_module'] = array( | |
'title' => 'Test Module Settings', | |
'page callback' => 'drupal_get_form', | |
'page arguments' => array('test_module_admin_settings_form'), | |
'access arguments' => array('administer site configuration'), | |
); | |
return $items; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment