function TableMappingInterface::getExtraColumns
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/Sql/TableMappingInterface.php \Drupal\Core\Entity\Sql\TableMappingInterface::getExtraColumns()
- 10 core/lib/Drupal/Core/Entity/Sql/TableMappingInterface.php \Drupal\Core\Entity\Sql\TableMappingInterface::getExtraColumns()
- 11.x core/lib/Drupal/Core/Entity/Sql/TableMappingInterface.php \Drupal\Core\Entity\Sql\TableMappingInterface::getExtraColumns()
Gets a list of extra database columns, which store denormalized data.
These database columns do not belong to any entity fields. Any normalized data that is stored should be associated with an entity field.
Parameters
string $table_name: The name of the table to return the columns for.
Return value
string[] An array of column names for the given table.
1 method overrides TableMappingInterface::getExtraColumns()
- DefaultTableMapping::getExtraColumns in core/
lib/ Drupal/ Core/ Entity/ Sql/ DefaultTableMapping.php - Gets a list of extra database columns, which store denormalized data.
File
-
core/
lib/ Drupal/ Core/ Entity/ Sql/ TableMappingInterface.php, line 87
Class
- TableMappingInterface
- Provides a common interface for mapping field columns to SQL tables.
Namespace
Drupal\Core\Entity\SqlCode
public function getExtraColumns($table_name);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.