Commit b843b4ae authored by alexpott's avatar alexpott
Browse files

Issue #2525068 by daffie, googletorp: Document the class variable...

Issue #2525068 by daffie, googletorp: Document the class variable Node::in_preview as will stay public
parent 23fde8da
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment