You are here

public function DefaultTableMapping::getReservedColumns in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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 308
Contains \Drupal\Core\Entity\Sql\DefaultTableMapping.

Class

DefaultTableMapping
Defines a default table mapping class.

Namespace

Drupal\Core\Entity\Sql

Code

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