diff --git a/core/modules/node/lib/Drupal/node/NodeBCDecorator.php b/core/modules/node/lib/Drupal/node/NodeBCDecorator.php new file mode 100644 index 0000000..9fa6bbf --- /dev/null +++ b/core/modules/node/lib/Drupal/node/NodeBCDecorator.php @@ -0,0 +1,16 @@ +get('vid')->value; } + /** + * {@inheritdoc} + */ + public function getBCEntity() { + if (!isset($this->bcEntity)) { + $this->getPropertyDefinitions(); + $this->bcEntity = new NodeBCDecorator($this, $this->fieldDefinitions); + } + return $this->bcEntity; + } + }