Drupal 8  8.0.2
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. Most of these standards can be found under Best practices on Drupal.org

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