You are here

public function EntityLegalDocumentInterface::setPublishedVersion in Entity Legal 3.0.x

Same name and namespace in other branches
  1. 8.2 src/EntityLegalDocumentInterface.php \Drupal\entity_legal\EntityLegalDocumentInterface::setPublishedVersion()
  2. 4.0.x src/EntityLegalDocumentInterface.php \Drupal\entity_legal\EntityLegalDocumentInterface::setPublishedVersion()

Set the published document version.

Parameters

EntityLegalDocumentVersionInterface $version_entity: The legal document version to set as the published version.

Return value

bool Whether or not the published version was set successfully.

1 method overrides EntityLegalDocumentInterface::setPublishedVersion()
EntityLegalDocument::setPublishedVersion in src/Entity/EntityLegalDocument.php
Set the published document version.

File

src/EntityLegalDocumentInterface.php, line 96

Class

EntityLegalDocumentInterface
Interface EntityLegalDocumentInterface.

Namespace

Drupal\entity_legal

Code

public function setPublishedVersion(EntityLegalDocumentVersionInterface $version_entity);