You are here

public function EntityStatus::getLastPull 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::getLastPull()
  2. 2.0.x src/Entity/EntityStatus.php \Drupal\cms_content_sync\Entity\EntityStatus::getLastPull()

Returns the timestamp for the last pull.

Return value

int

1 call to EntityStatus::getLastPull()
EntityStatus::setLastPull in src/Entity/EntityStatus.php
Set the last pull timestamp.

File

src/Entity/EntityStatus.php, line 873

Class

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

Namespace

Drupal\cms_content_sync\Entity

Code

public function getLastPull() {
  return $this
    ->get('last_import')->value;
}