Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

API module

The API module creates the Drupal API documentation. It can also be used to create your own site with the API documentation for your project.

This module can parse any documented Drupal code, including contributed modules, independent of Drupal core version. This means the Drupal code you use to run your site does not need to be the same as the code you are parsing and displaying. In fact, it is a good idea to keep the code you are parsing and displaying outside of the site running the API module.

How to write comments and code so that API module can correctly display it is explained in the pages of the Drupal Coding Standards.

Create your own API site

How to make an API documentation site