function WorkspacePublishEvent::getPublishedRevisionIds

Same name in other branches
  1. 11.x core/modules/workspaces/src/Event/WorkspacePublishEvent.php \Drupal\workspaces\Event\WorkspacePublishEvent::getPublishedRevisionIds()

Gets the entity IDs that are being published as part of the workspace.

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/Event/WorkspacePublishEvent.php, line 61

Class

WorkspacePublishEvent
Defines the workspace publish event.

Namespace

Drupal\workspaces\Event

Code

public function getPublishedRevisionIds() : array {
    return $this->publishedRevisionIds;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.