Reference
This section is deliberately thin: full API reference for classes, functions, hooks, and services lives on api.drupal.org, and we deep-link to it rather than duplicate it. What you’ll find here is what api.drupal.org does not serve well: the YAML and file formats you write by hand, and the quick lookups you reach for mid-task.
Info files (*.info.yml)Every key in a module, theme, and profile info file.
Common servicesThe services you inject most, with the interface to type-hint.
Render array propertiesThe # properties and the render and form element types core ships.
Plugin attributes and hooksThe attributes that declare plugins, and the OOP hook attributes.
Drush command cheat sheetThe Drush 13 commands you run daily, grouped by job.
Other file formats are documented in context, within the how-to and concept pages that produce each file:
- Routing files (
*.routing.yml): Routes and controllers. - Services files (
*.services.yml): Services and events. - Libraries files (
*.libraries.yml): Asset libraries. - Component files (
*.component.yml): Single-directory components. - Recipe files (
recipe.yml): Recipes.
Full API reference on api.drupal.orgClasses, interfaces, functions, hooks, services, and topic documentation generated from Drupal core source.
Was this page helpful?
Drupal is a registered trademark of Dries Buytaert.