Differential D9985 Diff 23994 src/applications/dashboard/phid/PhabricatorDashboardPHIDTypeDashboard.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/dashboard/phid/PhabricatorDashboardPHIDTypeDashboard.php
<?php | <?php | ||||
final class PhabricatorDashboardPHIDTypeDashboard extends PhabricatorPHIDType { | final class PhabricatorDashboardPHIDTypeDashboard extends PhabricatorPHIDType { | ||||
const TYPECONST = 'DSHB'; | const TYPECONST = 'DSHB'; | ||||
public function getTypeConstant() { | |||||
return self::TYPECONST; | |||||
} | |||||
public function getTypeName() { | public function getTypeName() { | ||||
return pht('Dashboard'); | return pht('Dashboard'); | ||||
} | } | ||||
public function newObject() { | public function newObject() { | ||||
return new PhabricatorDashboard(); | return new PhabricatorDashboard(); | ||||
} | } | ||||
Show All 24 Lines |