Advertising sustains the DA. Ads are hidden for members. Join today
Drupal APIs
- Access Policy API
- AJAX API
- Authentication API
- Batch API
- Block API
- Cache API
- (deprecated) CKEditor 4 API
- CKEditor 5 API
- Configuration API
- Database API
- Entity API
- Filter API
- Form API
- JavaScript API
- Layout API
- Logging API
- Menu API
- Middleware API
- Migrate API
- Plugin API
- RESTful Web Services API
- Render API
- Responses
- Routing system
- Runtime Assertions
- Serialization API
- Services and dependency injection
- State API
- Text Editor API
- Tour API
- Translation API
- Typed Data API
- Update API
- Command-Line Interface (CLI) API
- HTMX
- Icon API
- Token API
JavaScript API
Specific version(s)
Drupal 10 and 11 documentation.
Drupal JavaScript API.
JavaScript API overview
Since Drupal 8, the available JavaScript files, which were referenced in .info files in Drupal 7, are now referenced in .yml files
Accessibility tools for JavaScript in Drupal
Tools include: Announce page updates aurally
Add JavaScript to Your Theme or Module
Attach JavaScript to your modules or themes following these easy steps.
AJAX Forms
Using AJAX callbacks to dynamically react on user input, alter form elements, show dialog boxes or run custom Javascript functions.
Messages API
Display status messages by the JavaScript API from Drupal core.
Theming in JavaScript
Allow HTML added by JavaScript to be overridden by themes.