X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FConfig%2FSchema%2FSequence.php;fp=web%2Fcore%2Flib%2FDrupal%2FCore%2FConfig%2FSchema%2FSequence.php;h=547969bbccecc7b98d32f16e1d508b305ea37da0;hp=ce8dc1bc0b2690412b504d46922cc61b87330e92;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/lib/Drupal/Core/Config/Schema/Sequence.php b/web/core/lib/Drupal/Core/Config/Schema/Sequence.php index ce8dc1bc0..547969bbc 100644 --- a/web/core/lib/Drupal/Core/Config/Schema/Sequence.php +++ b/web/core/lib/Drupal/Core/Config/Schema/Sequence.php @@ -10,6 +10,12 @@ namespace Drupal\Core\Config\Schema; * * Read https://www.drupal.org/node/1905070 for more details about configuration * schema, types and type resolution. + * + * Note that sequences implement the typed data ComplexDataInterface (via the + * parent ArrayElement) rather than the ListInterface. This is because sequences + * may have named keys, which is not supported by ListInterface. From the typed + * data API perspective sequences are handled as ordered mappings without + * metadata about existing properties. */ class Sequence extends ArrayElement {