Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/dashboard/editor/PhabricatorDashboardTransactionEditor.php
13444 views
1
<?php
2
3
final class PhabricatorDashboardTransactionEditor
4
extends PhabricatorApplicationTransactionEditor {
5
6
public function getEditorApplicationClass() {
7
return 'PhabricatorDashboardApplication';
8
}
9
10
public function getEditorObjectsDescription() {
11
return pht('Dashboards');
12
}
13
14
public function getTransactionTypes() {
15
$types = parent::getTransactionTypes();
16
17
$types[] = PhabricatorTransactions::TYPE_VIEW_POLICY;
18
$types[] = PhabricatorTransactions::TYPE_EDIT_POLICY;
19
$types[] = PhabricatorTransactions::TYPE_EDGE;
20
21
return $types;
22
}
23
24
protected function supportsSearch() {
25
return true;
26
}
27
28
}
29
30