Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Test Module
name = "Test Module"
description = "Test Module for patches"
core = 7.x
<?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
You can’t perform that action at this time.