Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. core.api.php

Best practices for developers

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:

  • Security: https://www.drupal.org/writing-secure-code and the Sanitization functions topic
  • Coding standards: https://www.drupal.org/coding-standards and https://www.drupal.org/coding-standards/docs
  • Accessibility: https://www.drupal.org/node/1637990 (modules) and https://www.drupal.org/node/464472 (themes)
  • Usability: https://www.drupal.org/ui-standards
  • Internationalization: Internationalization topic
  • Automated testing: Automated tests topic

File

core/core.api.php, line 1550

RSS feed
Powered by Drupal