function SqlContentEntityStorageSchema::getColumnSchemaRelevantKeys
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::getColumnSchemaRelevantKeys()
- 8.9.x core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::getColumnSchemaRelevantKeys()
- 11.x core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::getColumnSchemaRelevantKeys()
Returns a list of column schema keys affecting data storage.
When comparing schema definitions, only changes in certain properties actually affect how data is stored and thus, if applied, may imply data manipulation.
Return value
string[] An array of key names.
1 call to SqlContentEntityStorageSchema::getColumnSchemaRelevantKeys()
- SqlContentEntityStorageSchema::hasColumnChanges in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorageSchema.php - Compares schemas to check for changes in the column definitions.
File
-
core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorageSchema.php, line 2501
Class
- SqlContentEntityStorageSchema
- Defines a schema handler that supports revisionable, translatable entities.
Namespace
Drupal\Core\Entity\SqlCode
protected function getColumnSchemaRelevantKeys() {
return [
'type',
'size',
'length',
'unsigned',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.