TableMappingInterface::getFieldColumnName

public TableMappingInterface::getFieldColumnName(FieldStorageDefinitionInterface $storage_definition, $property_name)

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.

File

core/lib/Drupal/Core/Entity/Sql/TableMappingInterface.php, line 108

Class

TableMappingInterface
Provides a common interface for mapping field columns to SQL tables.

Namespace

Drupal\Core\Entity\Sql

Code

public function getFieldColumnName(FieldStorageDefinitionInterface $storage_definition, $property_name);
doc_Drupal
2016-10-29 09:46:04
Comments
Leave a Comment

Please login to continue.