projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
lib
/
Drupal
/
Core
/
Entity
/
EntityPublishedTrait.php
diff --git
a/web/core/lib/Drupal/Core/Entity/EntityPublishedTrait.php
b/web/core/lib/Drupal/Core/Entity/EntityPublishedTrait.php
index eb4d82e89b8eee87af38c0b3967c3030448b3ed8..1f36625828e53c308f464ea39725609246744c42 100644
(file)
--- a/
web/core/lib/Drupal/Core/Entity/EntityPublishedTrait.php
+++ b/
web/core/lib/Drupal/Core/Entity/EntityPublishedTrait.php
@@
-45,8
+45,7
@@
trait EntityPublishedTrait {
* {@inheritdoc}
*/
public function isPublished() {
- $key = $this->getEntityType()->getKey('published');
- return (bool) $this->get($key)->value;
+ return (bool) $this->getEntityKey('published');
}
/**