public function EntityBCDecorator::setValue

Forwards the call to the decorated entity.

Overrides TypedDataInterface::setValue

File

drupal/core/lib/Drupal/Core/Entity/EntityBCDecorator.php, line 456
Contains \Drupal\Core\Entity\EntityBCDecorator.

Class

EntityBCDecorator
Provides backwards compatible (BC) access to entity fields.

Namespace

Drupal\Core\Entity

Code

public function setValue($value, $notify = TRUE) {
  return $this->decorated
    ->setValue($value, $notify);
}