DefaultTableMapping::$columnMapping

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

A mapping of column names per field name.

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

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

Type: array[]

File

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

Class

DefaultTableMapping
Defines a default table mapping class.

Namespace

Drupal\Core\Entity\Sql

Code

protected $columnMapping = [];

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