Changeset View
Changeset View
Standalone View
Standalone View
src/applications/almanac/editor/AlmanacServiceEditor.php
<?php | <?php | ||||
final class AlmanacServiceEditor | final class AlmanacServiceEditor | ||||
extends PhabricatorApplicationTransactionEditor { | extends PhabricatorApplicationTransactionEditor { | ||||
public function getEditorApplicationClass() { | public function getEditorApplicationClass() { | ||||
return 'PhabricatorAlmanacApplication'; | return 'PhabricatorAlmanacApplication'; | ||||
} | } | ||||
public function getEditorObjectsDescription() { | public function getEditorObjectsDescription() { | ||||
return pht('Almanac Service'); | return pht('Almanac Service'); | ||||
} | } | ||||
protected function supportsSearch() { | |||||
return true; | |||||
} | |||||
public function getTransactionTypes() { | public function getTransactionTypes() { | ||||
$types = parent::getTransactionTypes(); | $types = parent::getTransactionTypes(); | ||||
$types[] = AlmanacServiceTransaction::TYPE_NAME; | $types[] = AlmanacServiceTransaction::TYPE_NAME; | ||||
$types[] = AlmanacServiceTransaction::TYPE_LOCK; | $types[] = AlmanacServiceTransaction::TYPE_LOCK; | ||||
$types[] = PhabricatorTransactions::TYPE_VIEW_POLICY; | $types[] = PhabricatorTransactions::TYPE_VIEW_POLICY; | ||||
$types[] = PhabricatorTransactions::TYPE_EDIT_POLICY; | $types[] = PhabricatorTransactions::TYPE_EDIT_POLICY; | ||||
▲ Show 20 Lines • Show All 145 Lines • Show Last 20 Lines |