function WorkspacePublisher::checkConflictsOnTarget

Same name in other branches
  1. 8.9.x core/modules/workspaces/src/WorkspacePublisher.php \Drupal\workspaces\WorkspacePublisher::checkConflictsOnTarget()
  2. 10 core/modules/workspaces/src/WorkspacePublisher.php \Drupal\workspaces\WorkspacePublisher::checkConflictsOnTarget()
  3. 11.x core/modules/workspaces/src/WorkspacePublisher.php \Drupal\workspaces\WorkspacePublisher::checkConflictsOnTarget()

Overrides WorkspaceOperationInterface::checkConflictsOnTarget

1 call to WorkspacePublisher::checkConflictsOnTarget()
WorkspacePublisher::publish in core/modules/workspaces/src/WorkspacePublisher.php
Publishes the contents of a workspace to the default (Live) workspace.

File

core/modules/workspaces/src/WorkspacePublisher.php, line 149

Class

WorkspacePublisher
Default implementation of the workspace publisher.

Namespace

Drupal\workspaces

Code

public function checkConflictsOnTarget() {
    // Nothing to do for now, we can not get to a conflicting state because an
    // entity which is being edited in a workspace can not be edited in any
    // other workspace.
}

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