You are here

public function WorkspaceController::viewConflicts in Workspace 8

View a list of conflicts for a workspace.

Parameters

string $workspace: The workspace ID to get conflicts for.

Return value

array The render array to display for the page.

1 string reference to 'WorkspaceController::viewConflicts'
workspace.routing.yml in ./workspace.routing.yml
workspace.routing.yml

File

src/Controller/WorkspaceController.php, line 86

Class

WorkspaceController
WorkspaceController class.

Namespace

Drupal\workspace\Controller

Code

public function viewConflicts($workspace) {
  $container = \Drupal::getContainer();
  $builder = ConflictListBuilder::createInstance($container);
  return $builder
    ->buildList($workspace);
}