You are here

protected function AssetRefreshManager::saveStartTime in Media: Acquia DAM 8

Saves the "Start Time" Drupal State value.

Parameters

int $timestamp: Timestamp.

3 calls to AssetRefreshManager::saveStartTime()
AssetRefreshManager::getAssetIds in src/Service/AssetRefreshManager.php
Returns the most recent media asset ids.
AssetRefreshManager::getStartTime in src/Service/AssetRefreshManager.php
Returns the "Start Time" Drupal State value.
AssetRefreshManager::updateQueue in src/Service/AssetRefreshManager.php
Updates the asset refresh queue.

File

src/Service/AssetRefreshManager.php, line 350

Class

AssetRefreshManager
Class AssetRefreshManager.

Namespace

Drupal\media_acquiadam\Service

Code

protected function saveStartTime(int $timestamp) {
  $this->state
    ->set('media_acquiadam.notifications_starttime', $timestamp);
}