Differential D25270 Diff 991 src/applications/dashboard/application/PhabricatorDashboardApplication.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/dashboard/application/PhabricatorDashboardApplication.php
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Lines | final class PhabricatorDashboardApplication extends PhabricatorApplication { | ||||
} | } | ||||
public function getRemarkupRules() { | public function getRemarkupRules() { | ||||
return array( | return array( | ||||
new PhabricatorDashboardRemarkupRule(), | new PhabricatorDashboardRemarkupRule(), | ||||
); | ); | ||||
} | } | ||||
protected function getCustomCapabilities() { | |||||
return array( | |||||
PhabricatorDashboardCreateCapability::CAPABILITY => array( | |||||
'default' => PhabricatorPolicies::POLICY_USER, | |||||
'caption' => pht('Default create policy for Dashboards.'), | |||||
valerio.bozzolan: I suggest to put "Dashboards" capitalized | |||||
), | |||||
); | |||||
} | |||||
} | } |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0
I suggest to put "Dashboards" capitalized