---
url: /api/platforms/drupal/src.md
---
[pantoken-root](../../../index.md) / drupal

# drupal

## Compatibility

Target: Drupal themes. Current format: `Drupal core discovers generated theme; InfoParser and Symfony YAML accept metadata`. Minimum host version: `10.6.18`. Tested through `11.3.2`. Newer releases require review.

[Full compatibility matrix](../../../../compatibility)

Experimental

`@pantoken/drupal` — emit an Instructure-themed Drupal sub-theme.

Produces the token stylesheet (from `@pantoken/css`) and an InstUI-look prose stylesheet (from
`@pantoken/components`, styling content in a `.pantoken-prose` region), plus the `*.info.yml`
and `*.libraries.yml` a Drupal 10/11 theme needs to load them. Drop the files into
`themes/custom/<machine>/`.

## Interfaces

* [DrupalFile](interfaces/DrupalFile.md)
* [ToDrupalThemeOptions](interfaces/ToDrupalThemeOptions.md)

## Functions

* [machineName](functions/machineName.md)
* [toDrupalTheme](functions/toDrupalTheme.md)
