public static function getStandardPerspective()
{
$elementTree = [["type" => "documents", "position" => "left", "expanded" => false, "hidden" => false, "sort" => -3, "treeContextMenu" => ["document" => ["items" => ["addPrintPage" => self::getWeb2PrintConfig()->enableInDefaultView ? true : false]]]], ["type" => "assets", "position" => "left", "expanded" => false, "hidden" => false, "sort" => -2], ["type" => "objects", "position" => "left", "expanded" => false, "hidden" => false, "sort" => -1]];
$cvConfigs = Tool::getCustomViewConfig();
if ($cvConfigs) {
foreach ($cvConfigs as $cvConfig) {
$cvConfig["type"] = "customview";
$elementTree[] = $cvConfig;
}
}
return ["default" => ["iconCls" => "pimcore_icon_perspective", "elementTree" => $elementTree, "dashboards" => ["predefined" => ["welcome" => ["positions" => [[["id" => 1, "type" => "pimcore.layout.portlets.modificationStatistic", "config" => null], ["id" => 2, "type" => "pimcore.layout.portlets.modifiedAssets", "config" => null]], [["id" => 3, "type" => "pimcore.layout.portlets.modifiedObjects", "config" => null], ["id" => 4, "type" => "pimcore.layout.portlets.modifiedDocuments", "config" => null]]]]]]]];
}