Commit 8b0adb6e authored by Crell's avatar Crell
Browse files

refs #1400748 by Crell: Add README files to document the purpose of various core directories.

parent 7048b219
Drupal Components are independent libraries that do not depend on the rest of
Drupal in order to function. Components MAY depend on other Components, but
that is discouraged. Components MAY NOT depend on any code that is not part of
PHP itself or another Drupal component.
Each Component should be in its own namespace, and should be as self-contained
as possible. It should be possible to split a Component off to its own
repository and use as a stand-alone library, independently of Drupal.
Code in the Core namespace represents Drupal subsystems provided by the base
system. These subsystems MAY depend on Drupal Components and other Subsystems,
but MAY NOT depend on any code in a module.
Each Component should be in its own namespace, and should be as self-contained
as possible.
This directory contains test case code for Drupal core Components and Subsystems.
Test classes should mirror the namespace of the code being tested. Supporting
code for test classes is allowed.
3rd party libraries provided by Drupal core should be placed in this directory.
They should not be modified from their original form at any time. They should
be changed only to keep up to date with upstream projects.
Code in this directory MAY be licensed under a GPL-compatible non-GPL license. If
so, it must be properly documented in COPYRIGHT.txt.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment