plugin/dashboard/Manager/DashboardManager.php
public function exportDashboard(Dashboard $dashboard)
    {
        return [
          'id' => $dashboard->getId(),
          'creatorId' => $dashboard->getCreator()->getId(),
          'name' => $dashboard->getName(),
          'workspace' => $this->workspaceManager->exportWorkspace($dashboard->getWorkspace()),
      ];
    }
public function exportDashboard(Dashboard $dashboard)
    {
        return [
          'id' => $dashboard->getId(),
          'creatorId' => $dashboard->getCreator()->getId(),
          'name' => $dashboard->getName(),
          'workspace' => $this->workspaceManager->exportWorkspace($dashboard->getWorkspace()),
      ];
    }
public function exportDashboard ( Dashboard $ dashboard ) { return [ 'id' => $ dashboard -> getId ( ) , 'creatorId' => $ dashboard -> getCreator ( ) -> getId ( ) , 'name' => $ dashboard -> getName ( ) , 'workspace' => $ this -> workspaceManager -> exportWorkspace ( $ dashboard -> getWorkspace ( ) ) , ] ; }
Export dashboard as array.
Export dashboard as array .