Defines a default table mapping class.
Hierarchy
- class \Drupal\Core\Entity\Sql\DefaultTableMapping implements TableMappingInterface
File
- core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php, line 11
Namespace
Drupal\Core\Entity\Sql
Members
Name | Modifiers | Type | Description |
---|---|---|---|
DefaultTableMapping::$allColumns | protected | property | A list of all database columns per table. |
DefaultTableMapping::$columnMapping | protected | property | A mapping of column names per field name. |
DefaultTableMapping::$entityType | protected | property | The entity type definition. |
DefaultTableMapping::$extraColumns | protected | property | A list of database columns which store denormalized data per table. |
DefaultTableMapping::$fieldNames | protected | property | A list of field names per table. |
DefaultTableMapping::$fieldStorageDefinitions | protected | property | The field storage definitions of this mapping. |
DefaultTableMapping::allowsSharedTableStorage | public | function | Checks whether the given field can be stored in a shared table. |
DefaultTableMapping::generateFieldTableName | protected | function | Generates a safe and unambiguous field table name. |
DefaultTableMapping::getAllColumns | public | function | Gets a list of all database columns for a given table. Overrides TableMappingInterface::getAllColumns |
DefaultTableMapping::getColumnNames | public | function | Gets a mapping of field columns to database columns for a given field. Overrides TableMappingInterface::getColumnNames |
DefaultTableMapping::getDedicatedDataTableName | public | function | Generates a table name for a field data table. |
DefaultTableMapping::getDedicatedRevisionTableName | public | function | Generates a table name for a field revision archive table. |
DefaultTableMapping::getDedicatedTableNames | public | function | Gets a list of dedicated table names for this mapping. |
DefaultTableMapping::getExtraColumns | public | function | Gets a list of extra database columns, which store denormalized data. Overrides TableMappingInterface::getExtraColumns |
DefaultTableMapping::getFieldColumnName | public | function | Generates a column name for a field property. Overrides TableMappingInterface::getFieldColumnName |
DefaultTableMapping::getFieldNames | public | function | Gets a list of names for entity fields stored in the specified table. Overrides TableMappingInterface::getFieldNames |
DefaultTableMapping::getFieldTableName | public | function | Gets the table name for a given column. Overrides TableMappingInterface::getFieldTableName |
DefaultTableMapping::getReservedColumns | public | function | Gets the list of columns that can not be used as field type columns. Overrides TableMappingInterface::getReservedColumns |
DefaultTableMapping::getTableNames | public | function | Gets a list of table names for this mapping. Overrides TableMappingInterface::getTableNames |
DefaultTableMapping::requiresDedicatedTableStorage | public | function | Checks whether the given field has to be stored in a dedicated table. |
DefaultTableMapping::setExtraColumns | public | function | Adds a extra columns for a table to the table mapping. |
DefaultTableMapping::setFieldNames | public | function | Adds field columns for a table to the table mapping. |
DefaultTableMapping::__construct | public | function | Constructs a DefaultTableMapping. |
TableMappingInterface::DELTA | constant | A property that represents delta used in entity query conditions. |
Please login to continue.