Skip to main content Skip to search
Can we use first and third party cookies and web beacons to understand our audience, and to tailor promotions you see?
Main menu

Main navigation

    • Go to Drupal.org
    • Drupal 7
    • Drupal 8+
    • Other projects
    • Develop for Drupal
Return to content
Drupal API

drupal

Primary tabs

  • 11.x
  • 10.3.x
  • 9.5.x
  • 8.9.x
  • 7.x

Welcome to the Drupal API Documentation!

This site is an API reference for Drupal, generated from comments embedded in the source code. More in-depth documentation can be found at https://www.drupal.org/developing/api.

Here are some topics to help you get started developing with Drupal.

Essential background concepts

  • Object-oriented conventions used in Drupal
  • Extending and altering Drupal
  • Security and best practices
  • Types of information in Drupal

User interface

  • Menu entries, local tasks, and other links
  • Routing API and page controllers
  • Forms
  • Blocks
  • Ajax

Storing and retrieving data

  • Entities
  • Fields
  • Configuration API
  • State API
  • Views
  • Database abstraction layer

Other essential APIs

  • Plugins
  • Services and the Dependency Injection Container
  • Events
  • Internationalization
  • Caching
  • Utility classes and functions
  • User accounts, permissions, and roles
  • Render API
  • Theme system
  • Update API
  • Migration

Additional topics

  • Batch API
  • Queue API
  • Typed Data
  • Automated tests
  • PHP Runtime Assert Statements
  • Integrating third-party applications

Further information

  • Examples project (sample modules)
  • API change notices
  • Drupal API longer references

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.

Search drupal 11.x

Partial match search is supported

API Navigation

  • drupal 11.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
  • Elements

News items

  • News
  • Planet Drupal
  • Social media
  • Sign up for Drupal news
  • Security advisories
  • Jobs

Our community

  • Community
  • Services
  • Training
  • Hosting
  • Contributor guide
  • Groups & meetups
  • DrupalCon
  • Code of conduct

Documentation

  • Documentation
  • Drupal Guide
  • Drupal User Guide
  • Developer docs
  • API.Drupal.org

Drupal code base

  • Download & Extend
  • Drupal core
  • Modules
  • Themes
  • Distributions

Governance of community

  • About
  • Web accessibility
  • Drupal Association
  • About Drupal.org
  • Terms of service
  • Privacy policy

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.