protected SqlContentEntityStorageSchema::hasSharedTableStructureChange(EntityTypeInterface $entity_type, EntityTypeInterface $original)
Detects whether there is a change in the shared table structure.
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The new entity type.
\Drupal\Core\Entity\EntityTypeInterface $original: The origin entity type.
bool Returns TRUE if either the revisionable or translatable flag changes or a table has been renamed.
protected function hasSharedTableStructureChange(EntityTypeInterface $entity_type, EntityTypeInterface $original) { return $entity_type->isRevisionable() != $original->isRevisionable() || $entity_type->isTranslatable() != $original->isTranslatable() || $this->hasSharedTableNameChanges($entity_type, $original); }
© 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::hasSharedTableStructureChange/8.1.x