public function DashboardController::getDefaultPositioning in Opigno dashboard 8
Same name and namespace in other branches
- 3.x src/Controller/DashboardController.php \Drupal\opigno_dashboard\Controller\DashboardController::getDefaultPositioning()
Returns default positioning.
1 string reference to 'DashboardController::getDefaultPositioning'
File
- src/
Controller/ DashboardController.php, line 212
Class
- DashboardController
- Controller for all the actions of the Learning Path manager app.
Namespace
Drupal\opigno_dashboard\ControllerCode
public function getDefaultPositioning() {
$positioning = $this
->getPositioning(NULL, TRUE);
return new JsonResponse([
'positions' => $positioning['positions'],
'columns' => $positioning['columns'],
], Response::HTTP_OK);
}