You are here

public function DefaultTableMapping::getTableNames in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php \Drupal\Core\Entity\Sql\DefaultTableMapping::getTableNames()

Gets a list of table names for this mapping.

Return value

string[] An array of table names.

Overrides TableMappingInterface::getTableNames

File

core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php, line 100
Contains \Drupal\Core\Entity\Sql\DefaultTableMapping.

Class

DefaultTableMapping
Defines a default table mapping class.

Namespace

Drupal\Core\Entity\Sql

Code

public function getTableNames() {
  return array_unique(array_merge(array_keys($this->fieldNames), array_keys($this->extraColumns)));
}