diff --git a/core/modules/node/src/Entity/Node.php b/core/modules/node/src/Entity/Node.php index afa31e3c797b0fca32d8b98c1bb005b11e1dd2a9..0588ab0974470586030d272193849611ddc5bdaf 100644 --- a/core/modules/node/src/Entity/Node.php +++ b/core/modules/node/src/Entity/Node.php @@ -77,7 +77,11 @@ class Node extends ContentEntityBase implements NodeInterface { /** * Whether the node is being previewed or not. * + * The variable is set to public as it will give a considerable performance + * improvement. See https://www.drupal.org/node/2498919. + * * @var true|null + * TRUE if the node is being previewed and NULL if it is not. */ public $in_preview = NULL;