Chaos Tool Suite (ctools)
CTools provides a suite of developer tools and APIs to enhance module creation and management. It includes features for handling plugins, exporting objects, managing AJAX requests, simplifying forms and wizards, and providing context-aware content. The Page Manager component specifically handles the creation and management of pages, including panel pages.
This suite is primarily a set of APIs and tools to improve the developer experience. It also contains a module called the Page Manager whose job is to manage pages. In particular it manages panel pages, but as it grows it will be able to manage far more than just Panels.
For the moment, it includes the following tools:
- Plugins -- tools to make it easy for modules to let other modules implement plugins from .inc files.
- Exportables -- tools to make it easier for modules to have objects that live in database or live in code, such as 'default views'.
- AJAX responder -- tools to make it easier for the server to handle AJAX requests and tell the client what to do with them.
- Form tools -- tools to make it easier for forms to deal with AJAX.
- Object caching -- tool to make it easier to edit an object across multiple page requests and cache the editing work.
- Contexts -- the notion of wrapping objects in a unified wrapper and providing an API to create and accept these contexts as input.
- Modal dialog -- tool to make it simple to put a form in a modal dialog.
- Dependent -- a simple form widget to make form items appear and disappear based upon the selections in another item.
- Content -- pluggable content types used as panes in Panels and other modules like Dashboard.
- Form wizard -- an API to make multi-step forms much easier.
- CSS tools -- tools to cache and sanitize CSS easily to make user-input CSS safe.
CTools for Drupal 8 / 9 / 10
The 4.x branch is the most current version of ctools, designed for Drupal 9, 10, and 11. Once Drupal 12 is released, this module will be compatible with the LTS version of Drupal 10 and above.
When new breaking changes within the ctools API occur, they will be committed to 5.x.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
14 tracked projects depend on this one
- Panels 60,859 sites
- Page Manager 32,048 sites
- Views Block Exposed Filter Blocks 7,460 sites
- Core Context 5,140 sites
- Paragraph blocks 2,911 sites
- View Mode Page 1,865 sites
- Islandora 598 sites
- Varbase Core 508 sites
- Varbase Carousels 214 sites
- Droopler 212 sites
- Dropsolid Rocketship Core 96 sites
- Contacts 20 sites
- OpenFed 6 sites
- Opigno LMS (Community version)
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 4.1.1 | Stable | 9–11 | Jul 24, 2026 |