protected function SqlContentEntityStorageSchema::getColumnSchemaRelevantKeys

protected 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.

File

core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 1980

Class

SqlContentEntityStorageSchema
Defines a schema handler that supports revisionable, translatable entities.

Namespace

Drupal\Core\Entity\Sql

Code

protected function getColumnSchemaRelevantKeys() {
  return ['type', 'size', 'length', 'unsigned'];
}

© 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!SqlContentEntityStorageSchema.php/function/SqlContentEntityStorageSchema::getColumnSchemaRelevantKeys/8.1.x