summaryrefslogtreecommitdiffstats
path: root/core/modules/node/src/Entity/Node.php
diff options
context:
space:
mode:
authorNathaniel Catchpole2015-09-28 22:08:45 +0100
committerNathaniel Catchpole2015-09-28 22:08:45 +0100
commita6c2e2b1c56b67e41b8f87779bd08ca695686039 (patch)
tree59fc7c6a901bace47b69a79f87a15a06769a7518 /core/modules/node/src/Entity/Node.php
parent3123ff0a3fe80c68d2258a27b8f5dd0e03eb0c54 (diff)
Issue #2506213 by hchonov, mkalkbrenner: Update content entity changed timestamp on UI save
Diffstat (limited to 'core/modules/node/src/Entity/Node.php')
-rw-r--r--core/modules/node/src/Entity/Node.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/core/modules/node/src/Entity/Node.php b/core/modules/node/src/Entity/Node.php
index 1e5e5ef..34d57b4 100644
--- a/core/modules/node/src/Entity/Node.php
+++ b/core/modules/node/src/Entity/Node.php
@@ -234,13 +234,6 @@ class Node extends ContentEntityBase implements NodeInterface {
/**
* {@inheritdoc}
*/
- public function getChangedTime() {
- return $this->get('changed')->value;
- }
-
- /**
- * {@inheritdoc}
- */
public function isPromoted() {
return (bool) $this->get('promote')->value;
}
@@ -498,6 +491,7 @@ class Node extends ContentEntityBase implements NodeInterface {
->setDescription(t('Briefly describe the changes you have made.'))
->setRevisionable(TRUE)
->setTranslatable(TRUE)
+ ->setDefaultValue('')
->setDisplayOptions('form', array(
'type' => 'string_textarea',
'weight' => 25,