First
A first Drupal 7 module (Block API)
Install / Use
/learn @LearningDrupal7Development/FirstREADME
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.
- Clone this repository or grab a tagged download
- Put the module in your Drupal installation's
sites/all/modulesdirectory - Go to the
Modulesscreen 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.
Related Skills
node-connect
352.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
