X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FEntity%2FEntityType.php;fp=web%2Fcore%2Flib%2FDrupal%2FCore%2FEntity%2FEntityType.php;h=9584ed3e26511dac2b420aa516f128d91d6fde20;hp=b39fb3fa46abe2681517a75ea4052280fc1376b2;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/lib/Drupal/Core/Entity/EntityType.php b/web/core/lib/Drupal/Core/Entity/EntityType.php index b39fb3fa4..9584ed3e2 100644 --- a/web/core/lib/Drupal/Core/Entity/EntityType.php +++ b/web/core/lib/Drupal/Core/Entity/EntityType.php @@ -302,6 +302,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface { 'bundle' => '', 'langcode' => '', 'default_langcode' => 'default_langcode', + 'revision_translation_affected' => 'revision_translation_affected', ]; $this->handlers += [ 'access' => 'Drupal\Core\Entity\EntityAccessControlHandler', @@ -312,7 +313,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface { // Automatically add the EntityChanged constraint if the entity type tracks // the changed time. - if ($this->entityClassImplements(EntityChangedInterface::class) ) { + if ($this->entityClassImplements(EntityChangedInterface::class)) { $this->addConstraint('EntityChanged'); }