function WorkspaceAssociationInterface::getTrackedEntitiesForListing
Same name in other branches
- 10 core/modules/workspaces/src/WorkspaceAssociationInterface.php \Drupal\workspaces\WorkspaceAssociationInterface::getTrackedEntitiesForListing()
Retrieves a paged list of entities tracked by a given workspace.
Parameters
string $workspace_id: The ID of the workspace.
int|null $pager_id: (optional) A pager ID. Defaults to NULL.
int|false $limit: (optional) An integer specifying the number of elements per page. If passed a false value (FALSE, 0, NULL), the pager is disabled. Defaults to 50.
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.
File
-
core/
modules/ workspaces/ src/ WorkspaceAssociationInterface.php, line 72
Class
- WorkspaceAssociationInterface
- Defines an interface for the workspace_association service.
Namespace
Drupal\workspacesCode
public function getTrackedEntitiesForListing($workspace_id, ?int $pager_id = NULL, int|false $limit = 50) : array;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.