Same name and namespace in other branches
  1. 8.9.x core/core.api.php \best_practices
  2. 9 core/core.api.php \best_practices

Overview of standards and best practices for developers

Ideally, all code that is included in Drupal Core and contributed modules, themes, and distributions will be secure, internationalized, maintainable, and efficient. In order to facilitate this, the Drupal community has developed a set of guidelines and standards for developers to follow.

Standards and best practices that developers should be aware of include:

File

core/core.api.php, line 1550
Documentation landing page and topics, plus core library hooks.