Access policy API
How to use the access policy API to provide flexible access controls
AJAX API
Using the AJAX API to dynamically update forms/displays.
Authentication API
Documentation for Authentication API in Drupal 8.
Batch API
Documentation for Batch API in Drupal 8.
Block API
Documentation for Block API in Drupal 8.
Cache API
Documentation for Cache API in Drupal 8.
(deprecated) CKEditor 4 API (Drupal 8 and 9)
Documentation for the deprecated CKEditor 4 API in Drupal 8 and 9.
CKEditor 5 API
Documentation for CKEditor 5 API in Drupal 9.
Configuration API
Configuration API in Drupal 8.
Database API
Documentation for the Database API in Drupal 8.
Entity API
Drupal 8 Entity API documentation.
- Introduction to Entity API in Drupal 8
- Entity types
- Working with the Entity API
- Bundles
- Configuration Entity
- Content Entity
- Creating a custom content entity
- Creating a custom content type in Drupal 8
- Programming custom fields into your content type
- Using the UI to export the code for your custom fields
- Entity API implements Typed Data API
- Entity Validation API
- Access on entities (TBD)
- Defining and using Content Entity Field definitions
- Entity Translation API
- Display Modes, View Modes, and Form Modes
- FieldTypes, FieldWidgets and FieldFormatters
- Upgrading Code Snippets Module to Drupal 8: Creating a Custom Field
- Dynamic/Virtual field values using computed field property classes
- Handlers
- Making an entity revisionable
- Structure of an Entity annotation
- Creating a content entity type in Drupal 8
- Making the content entity searchable
- Converting a content entity type to be revisionable and publishable
- Link Templates
Filter API
Documentation for Filter API in Drupal 8.
Form API
Drupal's Form API provides a unified way for authoring HTML input forms and handling form validation and submission.
JavaScript API
Drupal JavaScript API.
Layout API
Documentation for Layout API in Drupal 8.
Logging API
Documentation for Logging API in Drupal 8.
Menu API
Menu API in Drupal 8.
Middleware API
Documentation for Middleware API in Drupal 8.
Migrate API
The Migrate API provides services for migrating data from different sources to Drupal 9 (or later)
- Migrate API overview
- Migrate source plugins
- Migrate process plugins
- Migrate destination plugins & examples
- Executing migrations
- Writing migrations for contributed and custom modules
- Migration Tests
- Generating database fixtures for migration tests
- Debugging migrations
- Migrate field plugins
- Process Pipelines
Plugin API
The Plugins API is used to extend Drupal and add new functionality, and allow modules to define new plugin types.
- Plugin API overview
- Why Plugins?
- Attribute-based plugins
- Create a custom attribute class
- Annotations-based plugins
- Annotation-Based Plugins in Views
- Creating your own Plugin Manager
- Plugin discovery
- Discovery Decorators
- Plugin Definitions
- Plugin Contexts
- Plugin Derivatives
- Create your own custom annotation class
- Creating a plugin that can be defined in themes
RESTful Web Services API
RESTful Web Services API in Drupal 8.
Render API
Render API in Drupal 8.
Responses
Drupal represents the responses it sends as Symfony Response objects.
Routing system
Routing system in Drupal 8.
- Routing system overview
- Introductory Drupal 8 routes and controllers example
- Structure of routes
- Altering existing routes and adding new routes based on dynamic ones
- Providing dynamic routes
- Routing-related objects: Route, CurrentRouteMatch, RouteMatch, Url
- Underlying functionality of the routing system in Drupal
- Access checking on routes
- Parameters in routes
Runtime Assertions
A runtime assertion is a statement that is expected to always be true at the point in the code it appears at.
Serialization API
Serialization API in Drupal 8.
Services and dependency injection
Services and dependency injection in Drupal 8.
State API
Documentation for State API in Drupal.
Text Editor API
Documentation for Text Editor API in Drupal 8.
Tour API
Documentation for Tour API in Drupal 8.
Translation API (Code text)
Documentation for Translation API (Code text) in Drupal 8.
Typed Data API
The Typed Data API is a low level API that describes data based on a set of available types.
Update API
Update API for Drupal 8 (hook_update_N() etc.)
Icon API
Documentation for Icon API in Drupal 11.1