summaryrefslogtreecommitdiffstats
path: root/core/modules/node/src/Entity/Node.php
diff options
context:
space:
mode:
authorAlex Pott2015-05-15 11:09:40 -0700
committerAlex Pott2015-05-15 11:09:40 -0700
commita451002a2c1930d25767ed2883a99963721385f4 (patch)
treed4e38587557e958c592f4d3f7241b1f39fffbafb /core/modules/node/src/Entity/Node.php
parent3d7cd4ed0303efe7fd89574e4dbaddb4a631e247 (diff)
Issue #2428795 by mkalkbrenner, plach, yched, catch, hchonov, webchick, tstoeckler, pjonckiere, miro_dietiker, Schnitzel, klausi: Translatable entity 'changed' timestamps are not working at all
Diffstat (limited to 'core/modules/node/src/Entity/Node.php')
-rw-r--r--core/modules/node/src/Entity/Node.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/modules/node/src/Entity/Node.php b/core/modules/node/src/Entity/Node.php
index 7ae8f36..6dd1229 100644
--- a/core/modules/node/src/Entity/Node.php
+++ b/core/modules/node/src/Entity/Node.php
@@ -8,6 +8,7 @@
namespace Drupal\node\Entity;
use Drupal\Core\Entity\ContentEntityBase;
+use Drupal\Core\Entity\EntityChangedTrait;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Field\BaseFieldDefinition;
@@ -69,6 +70,8 @@ use Drupal\user\UserInterface;
*/
class Node extends ContentEntityBase implements NodeInterface {
+ use EntityChangedTrait;
+
/**
* {@inheritdoc}
*/