DefaultTableMapping::$allColumns

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php \Drupal\Core\Entity\Sql\DefaultTableMapping::allColumns
  2. 8.9.x core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php \Drupal\Core\Entity\Sql\DefaultTableMapping::allColumns
  3. 11.x core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php \Drupal\Core\Entity\Sql\DefaultTableMapping::allColumns

A list of all database columns per table.

This corresponds to the return value of TableMappingInterface::getAllColumns() except that this variable is additionally keyed by table name.

This data is derived from static::$storageDefinitions, static::$fieldNames, and static::$extraColumns, but is stored separately to avoid repeated processing.

Type: array[]

File

core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php, line 114

Class

DefaultTableMapping
Defines a default table mapping class.

Namespace

Drupal\Core\Entity\Sql

Code

protected $allColumns = [];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.