public function ContentHubReindex::getReExportEntities in Acquia Content Hub 8
Obtains the entities to re-export.
Parameters
int $offset: Offset from the list.
int $limit: Length of entities to take.
Return value
array An array of entities to re-export.
File
- src/
Controller/ ContentHubReindex.php, line 258
Class
- ContentHubReindex
- Class for reindexing Content Hub content.
Namespace
Drupal\acquia_contenthub\ControllerCode
public function getReExportEntities($offset = 0, $limit = 10) {
$entities = $this->contentHubEntitiesTracking
->getEntitiesToReindex();
return array_slice($entities, $offset, $limit);
}