You are here

public property Reference::$inPreview in Bibliography & Citation 2.0.x

Same name and namespace in other branches
  1. 8 modules/bibcite_entity/src/Entity/Reference.php \Drupal\bibcite_entity\Entity\Reference::inPreview

Whether the reference 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.

TRUE if the reference is being previewed and NULL if it is not.

Type: true|null

File

modules/bibcite_entity/src/Entity/Reference.php, line 101

Class

Reference
Defines the Reference entity.

Namespace

Drupal\bibcite_entity\Entity

Code

public $inPreview = NULL;