Skip to content
Snippets Groups Projects
Commit b843b4ae authored by Alex Pott's avatar Alex Pott
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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment