function TableMappingInterface::getAllColumns
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Entity/Sql/TableMappingInterface.php \Drupal\Core\Entity\Sql\TableMappingInterface::getAllColumns()
- 10 core/lib/Drupal/Core/Entity/Sql/TableMappingInterface.php \Drupal\Core\Entity\Sql\TableMappingInterface::getAllColumns()
- 11.x core/lib/Drupal/Core/Entity/Sql/TableMappingInterface.php \Drupal\Core\Entity\Sql\TableMappingInterface::getAllColumns()
Gets a list of all database columns for a given table.
Parameters
string $table_name: The name of the table to return the columns for.
Return value
string[] An array of database column names for this table. Both field columns and extra columns are returned.
1 method overrides TableMappingInterface::getAllColumns()
- DefaultTableMapping::getAllColumns in core/
lib/ Drupal/ Core/ Entity/ Sql/ DefaultTableMapping.php - Gets a list of all database columns for a given table.
File
-
core/
lib/ Drupal/ Core/ Entity/ Sql/ TableMappingInterface.php, line 45
Class
- TableMappingInterface
- Provides a common interface for mapping field columns to SQL tables.
Namespace
Drupal\Core\Entity\SqlCode
public function getAllColumns($table_name);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.