function TableMappingInterface::getFieldTableName
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/Sql/TableMappingInterface.php \Drupal\Core\Entity\Sql\TableMappingInterface::getFieldTableName()
- 8.9.x core/lib/Drupal/Core/Entity/Sql/TableMappingInterface.php \Drupal\Core\Entity\Sql\TableMappingInterface::getFieldTableName()
- 10 core/lib/Drupal/Core/Entity/Sql/TableMappingInterface.php \Drupal\Core\Entity\Sql\TableMappingInterface::getFieldTableName()
Gets the table name for a given column.
Parameters
string $field_name: The name of the entity field to return the column mapping for.
Return value
string Table name for the given field.
Throws
\Drupal\Core\Entity\Sql\SqlContentEntityStorageException
1 method overrides TableMappingInterface::getFieldTableName()
- DefaultTableMapping::getFieldTableName in core/
lib/ Drupal/ Core/ Entity/ Sql/ DefaultTableMapping.php - Gets the table name for a given column.
File
-
core/
lib/ Drupal/ Core/ Entity/ Sql/ TableMappingInterface.php, line 121
Class
- TableMappingInterface
- Provides a common interface for mapping field columns to SQL tables.
Namespace
Drupal\Core\Entity\SqlCode
public function getFieldTableName($field_name);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.