presave example

/** * {@inheritdoc} */
  public function setOriginalId($id) {
    return $this->storage->setOriginalId($id);
  }

  /** * {@inheritdoc} */
  public function preSave(EntityStorageInterface $storage) {
    $this->storage->presave($storage);
  }

  /** * {@inheritdoc} */
  public function postSave(EntityStorageInterface $storage$update = TRUE) {
    $this->storage->postSave($storage$update);
  }

  /** * {@inheritdoc} */
Home | Imprint | This part of the site doesn't use cookies.