Issue #2525068 by daffie, googletorp: Document the class variable Node::in_preview as will stay public

8.0.x
Alex Pott 2015-07-14 08:33:43 +01:00
parent 23fde8da45
commit b843b4ae48
1 changed files with 4 additions and 0 deletions

View File

@ -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;