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
/
modules
/
node
/
src
/
Plugin
/
EntityReferenceSelection
/
NodeSelection.php
diff --git
a/web/core/modules/node/src/Plugin/EntityReferenceSelection/NodeSelection.php
b/web/core/modules/node/src/Plugin/EntityReferenceSelection/NodeSelection.php
index 2f26393c2e53a8acbfbc20f457c14b7dae1a5d41..5fdb3ff859e18622f6af9307b109287e7f0cf0f9 100644
(file)
--- a/
web/core/modules/node/src/Plugin/EntityReferenceSelection/NodeSelection.php
+++ b/
web/core/modules/node/src/Plugin/EntityReferenceSelection/NodeSelection.php
@@
-42,7
+42,7
@@
class NodeSelection extends DefaultSelection {
// In order to create a referenceable node, it needs to published.
/** @var \Drupal\node\NodeInterface $node */
- $node->setPublished(
TRUE
);
+ $node->setPublished();
return $node;
}