drupal Module development - Drupal 7 Basic module providing a simple page

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Example

really_neat.info

name = Really Neat Module
description = Provides a really neat page for your site
core = 7.x

really_neat.module

<?php

/**
 * @file
 * Hook implementation and shared functions for the Really Neat Module.
 */

/**
 * Implements hook_menu().
 */
function really_neat_menu() {
  $items = array();
  
  $items ['really/neat'] = array(
      'title' => 'A Really Neat Page',
      'page_callback' => 'really_neat_page',
      'access_callback' => TRUE, //Anyone can access. 
      // Or replace with array([name-of-permission]),
    ),

  return $items;
}

/**
 * Page callback: Displays something really neat
 */
function really_neat_page() {
  return "Really Neat!"
}


Got any drupal Question?