public function TableMappingInterface::getFieldColumnName in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/Sql/TableMappingInterface.php \Drupal\Core\Entity\Sql\TableMappingInterface::getFieldColumnName()
Generates a column name for a field property.
Parameters
\Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition.
string $property_name: The name of the property.
Return value
string A string containing a generated column name for a field data table that is unique among all other fields.
1 method overrides TableMappingInterface::getFieldColumnName()
- DefaultTableMapping::getFieldColumnName in core/
lib/ Drupal/ Core/ Entity/ Sql/ DefaultTableMapping.php - Generates a column name for a field property.
File
- core/
lib/ Drupal/ Core/ Entity/ Sql/ TableMappingInterface.php, line 104 - Contains \Drupal\Core\Entity\Sql\TableMappingInterface.
Class
- TableMappingInterface
- Provides a common interface for mapping field columns to SQL tables.
Namespace
Drupal\Core\Entity\SqlCode
public function getFieldColumnName(FieldStorageDefinitionInterface $storage_definition, $property_name);