assignNodes() public method

public assignNodes ( array $nodes )
$nodes array
Example #1
0
 /**
  * Get every unpublished node in the workspace with the given workspace name
  *
  * @param Workspace $workspace
  * @return void
  */
 public function getWorkspaceWideUnpublishedNodesAction($workspace)
 {
     $this->view->assignNodes($this->publishingService->getUnpublishedNodes($workspace));
 }