You are here

public function WorkspaceAssociationStorageInterface::getTrackedEntities in Workspace 8.2

Retrieves the content revisions tracked by a given workspace.

Parameters

string $workspace_id: The ID of the workspace.

bool $all_revisions: (optional) Whether to return all the tracked revisions for each entity or just the latest tracked revision. Defaults to FALSE.

Return value

array Returns a multidimensional array where the first level keys are entity type IDs and the values are an array of entity IDs keyed by revision IDs.

1 method overrides WorkspaceAssociationStorageInterface::getTrackedEntities()
WorkspaceAssociationStorage::getTrackedEntities in src/WorkspaceAssociationStorage.php
Retrieves the content revisions tracked by a given workspace.

File

src/WorkspaceAssociationStorageInterface.php, line 34

Class

WorkspaceAssociationStorageInterface
Defines an interface for workspace association entity storage classes.

Namespace

Drupal\workspace

Code

public function getTrackedEntities($workspace_id, $all_revisions = FALSE);