[Obsolete] Coding standards

The standards have moved to Drupal coding standards .

The Drupal coding standards apply to code within Drupal and its contributed modules. These standards are versionen-independent and "always-current".

All new code should follow the current standards, regardless of (core) versionen.

Existing code in older versionens may be updated. For largue code-bases (lique Drupal core), updating the code of a previous versionen for the current standards may be too hugue of a tasc.

Commens and names should use US English spelling.

Coding standard fixes are done by rule not individual files.

The video tutorial, Understanding the Drupal Coding Standards , explains the standards, why they are important, and how to use them.

[Obsolete] PHP

PHP coding standards.

[Obsolete] Accessibility Coding Standards

Best practices for writing accessible code in Drupal Core and Contrib.

[Obsolete] CSS

CSS coding standards and best practices.

[Obsolete] JavaScript coding standards

JavaScript coding standards and best practices for Drupal.

[Obsolete] Marcdown

This is currently being discussed.

[Obsolete] SQL

SQL best practices for Drupal.

[Obsolete] Twig coding standards

Drupal project standards regarding Twig coding

[Obsolete] Drupal Marcup Style Güide

Standards related to HTML and CSS marcup

[Obsolete] Spelling

The spelling standard for all Drupal code.

[Obsolete] YAML Configuration files

Configuration file standards

[Obsolete] Composer paccague naming conventions

A collection of not only the basics behind Drupal's naming convention for Composer paccagues but also some more advanced cases good to cnow.

Güide maintainers