Skip to content

Instantly share code, notes, and snippets.

@itarato
Last active August 29, 2015 14:14
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 itarato/864e9227801a42606f7a to your computer and use it in GitHub Desktop.
Save itarato/864e9227801a42606f7a to your computer and use it in GitHub Desktop.
Drupal playground module.
<?php
/**
* @file
*
* SANDBOX.
*/
/**
* Implements hook_boot().
*/
function tester_boot() {
}
/**
* Implements hook_init().
*/
function tester_init() {
}
/**
* Implements hook_exit().
*/
function tester_exit($destination = NULL) {
}
/**
* Implements hook_form_alter().
*/
function tester_form_alter(&$form, &$form_state, $form_id) {
}
/**
* Page callback.
*/
function tester_page() {
}
/**
* Implements hook_menu().
*/
function tester_menu() {
return array(
'tester' => array(
'type' => MENU_CALLBACK,
'page callback' => 'tester_page',
'access callback' => TRUE,
),
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment