SkillAgentSearch skills...

First

A first Drupal 7 module (Block API)

Install / Use

/learn @LearningDrupal7Development/First
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

First: A simple Drupal 7 Module

The First module provides a block that lists all of the modules currently enabled on a site.

This module illustrates the following Drupal tools:

  • Info files
  • Basic module files
  • hook_help
  • hook_block_info
  • hook_block_view
  • SimpleTest
  • Invoking a hook
  • Using t()

Installation

The First module is installed just like any other Drupal module.

  1. Clone this repository or grab a tagged download
  2. Put the module in your Drupal installation's sites/all/modules directory
  3. Go to the Modules screen in Drupal administration and enable the module.

Etc.

Please report any issues you find with this code.

Special thanks to my co-authors (especially sdboyer, who found the first reported bug) and my technical reviewers.

Matt Butcher Twitter

Related Skills

View on GitHub
GitHub Stars15
CategoryDevelopment
Updated6mo ago
Forks12

Languages

PHP

Security Score

67/100

Audited on Oct 8, 2025

No findings