Mercurial > hg > cmmr2012-drupal-site
diff core/lib/Drupal/Core/Field/BaseFieldDefinition.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
line wrap: on
line diff
--- a/core/lib/Drupal/Core/Field/BaseFieldDefinition.php Thu Feb 28 13:11:55 2019 +0000 +++ b/core/lib/Drupal/Core/Field/BaseFieldDefinition.php Thu May 09 15:34:47 2019 +0100 @@ -734,12 +734,6 @@ */ public function getColumns() { $schema = $this->getSchema(); - // A typical use case for the method is to iterate on the columns, while - // some other use cases rely on identifying the first column with the key() - // function. Since the schema is persisted in the Field object, we take care - // of resetting the array pointer so that the former does not interfere with - // the latter. - reset($schema['columns']); return $schema['columns']; }