You are here

public function DefaultTableMapping::getReservedColumns in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php \Drupal\Core\Entity\Sql\DefaultTableMapping::getReservedColumns()
  2. 9 core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php \Drupal\Core\Entity\Sql\DefaultTableMapping::getReservedColumns()

Gets the list of columns that can not be used as field type columns.

Return value

array

Overrides TableMappingInterface::getReservedColumns

1 call to DefaultTableMapping::getReservedColumns()
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/DefaultTableMapping.php, line 549

Class

DefaultTableMapping
Defines a default table mapping class.

Namespace

Drupal\Core\Entity\Sql

Code

public function getReservedColumns() {
  return [
    'deleted',
  ];
}