You are here

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

Saves the "Next Page" Drupal State value.

Parameters

int $page: Page index.

1 call to AssetRefreshManager::saveNextPage()
AssetRefreshManager::getAssetIds in src/Service/AssetRefreshManager.php
Returns the most recent media asset ids.

File

src/Service/AssetRefreshManager.php, line 407

Class

AssetRefreshManager
Class AssetRefreshManager.

Namespace

Drupal\media_acquiadam\Service

Code

protected function saveNextPage(int $page) {
  $this->state
    ->set('media_acquiadam.notifications_next_page', $page);
}