You are here

public function EntityLegalDocument::getPublishedVersionName in Entity Legal 8

Get the name of the current published version.

Return value

string

Overrides EntityLegalDocumentInterface::getPublishedVersionName

File

src/Entity/EntityLegalDocument.php, line 64
Contains \Drupal\entity_legal\Entity\EntityLegalDocument.

Class

EntityLegalDocument
Defines the 'entity_legal_document' config entity.

Namespace

Drupal\entity_legal\Entity

Code

public function getPublishedVersionName() {
  return $this
    ->get('published_version');
}