Skip to content

Instantly share code, notes, and snippets.

@kevinguebert
Last active May 21, 2018 21:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevinguebert/44e7d76105417e17f439107e8f8ddde9 to your computer and use it in GitHub Desktop.
Save kevinguebert/44e7d76105417e17f439107e8f8ddde9 to your computer and use it in GitHub Desktop.
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