Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Download Tracker 1.0.7 — Minor update available for module download_tracker (1.0.7). Release: Directory2Block Slideshow 1.0.8 — Minor update available for module directory2block_slideshow (1.0.8). Release: Mautic Audiences 1.1.5 — Minor update available for module mautic_audiences (1.1.5). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

X-ray

No security coverage
View on drupal.org

X-ray module gives a look at the skeletal structure of a site to help developers and site builders see how things work.

Overall goals

  • Provide visual aids and information to help site builders understand their own sites or ones they've taken over.
  • Provide visual aids and information useful for module developers.

Like-minded modules

Other modules that also have some sort of site self-inspection goals that provide features we would build into X-ray if these modern Drupal modules did not already exist:

Development X-Rays

Site-building X-Rays

(For Drupal 7, see also Architecture module.)

X-ray Background

This module is based on a suggestion submitted to the Contributed Module Ideas group by Zoë Neill-St. Clair. It was built as an example module for the Definitive Guide to Drupal 7.

X-ray Drupal 7 Features

  • A technical summary is added to the help above the main administrative sections. For example, blocks, content types, and menus are summarized on Structure; themes on Appearance; etc.
  • A table of permission titles matched to their permission machine names.
  • A table of most* hooks which Drupal invokes (and when they are invoked) and that are available to be implemented.
  • The function and arguments producing each page you visit, displayed on that page.
  • The form ID of every form you see, displayed on the form.

The development of this module is described in 94-page detail in the Module Development chapter of the Definitive Guide to Drupal 7.

Past planned features

  • To node pages, add what content type the node is.
  • A report with a technical overview of the site content structure, with relationships between content types. (Ideally, this will be graphical.)
  • A report with explanations of what in Drupal produces each page in the menu structure.

* Hooks are based on naming convention, and can only all be identified by very careful grepping of the code, which this module does not do; instead, all hooks which use module_invoke() are identified.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Aug 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
2.0.0-alpha1 Pre-release Aug 18, 2023
2.x-dev Dev Aug 15, 2023