Esempio n. 1
0
 /**
  * Serialize the payload for this feedback
  *
  * @return mixed
  */
 public function serializePayload(ControllerContext $controllerContext)
 {
     return ['documentContextPath' => $this->getDocument()->getContextPath(), 'workspaceName' => $this->getDocument()->getContext()->getWorkspace()->getName(), 'workspaceInfo' => $this->workspaceService->getPublishableNodeInfo($this->getDocument()->getContext()->getWorkspace())];
 }
Esempio n. 2
0
 public function getPublishableNodeInfo(Workspace $workspace)
 {
     return $this->workspaceService->getPublishableNodeInfo($workspace);
 }