Changes for core/modules/node/src/Entity/NodeType.php: 3 added lines, 2 removed lines.
Original line number
Diff line number
Diff line
@@ -125,7 +125,8 @@ public function isLocked() {
* {@inheritdoc}
*/
publicfunctionisNewRevision(){
return$this->new_revision;
@trigger_error('NodeType::isNewRevision is deprecated in drupal:8.3.0 and is removed from drupal:9.0.0. Use Drupal\Core\Entity\RevisionableEntityBundleInterface::shouldCreateNewRevision() instead. See https://www.drupal.org/node/3067365',E_USER_DEPRECATED);
return$this->shouldCreateNewRevision();
}
/**
@@ -216,7 +217,7 @@ public static function postDelete(EntityStorageInterface $storage, array $entiti