public function 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 104

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);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Sql!TableMappingInterface.php/function/TableMappingInterface::getFieldColumnName/8.1.x