You are here

public function EntityStatus::getEntityTypeVersion in CMS Content Sync 2.1.x

Same name and namespace in other branches
  1. 8 src/Entity/EntityStatus.php \Drupal\cms_content_sync\Entity\EntityStatus::getEntityTypeVersion()
  2. 2.0.x src/Entity/EntityStatus.php \Drupal\cms_content_sync\Entity\EntityStatus::getEntityTypeVersion()

Returns the entity type version.

Return value

string

File

src/Entity/EntityStatus.php, line 996

Class

EntityStatus
Defines the "Content Sync - Entity Status" entity type.

Namespace

Drupal\cms_content_sync\Entity

Code

public function getEntityTypeVersion() {
  return $this
    ->get('entity_type_version')->value;
}