You are here

public function EntityStatus::setEntityTypeVersion in CMS Content Sync 8

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

Set the last pull timestamp.

Parameters

string $version:

File

src/Entity/EntityStatus.php, line 1003

Class

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

Namespace

Drupal\cms_content_sync\Entity

Code

public function setEntityTypeVersion($version) {
  $this
    ->set('entity_type_version', $version);
}