DefaultTableMapping::getTableNames

public 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 95

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)));
}
doc_Drupal
2016-10-29 09:01:54
Comments
Leave a Comment

Please login to continue.