annotate core/lib/Drupal/Component/README.txt @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents 4c8ae668cc8c
children
rev   line source
Chris@0 1 Drupal Components are independent libraries that do not depend on the rest of
Chris@0 2 Drupal in order to function.
Chris@0 3
Chris@0 4 Components MAY depend on other Drupal Components or external libraries/packages,
Chris@0 5 but MUST NOT depend on any other Drupal code.
Chris@0 6
Chris@0 7 In other words, only dependencies that can be specified in a composer.json file
Chris@0 8 of the Component are acceptable dependencies. Every Drupal Component presents a
Chris@0 9 valid dependency, because it is assumed to contain a composer.json file (even
Chris@0 10 if it may not exist yet).
Chris@0 11
Chris@0 12 Each Component should be in its own namespace, and should be as self-contained
Chris@0 13 as possible. It should be possible to split a Component off to its own
Chris@0 14 repository and use as a stand-alone library, independently of Drupal.