Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/editor/PhabricatorConfigEditor.php
<?php | <?php | ||||
final class PhabricatorConfigEditor | final class PhabricatorConfigEditor | ||||
extends PhabricatorApplicationTransactionEditor { | extends PhabricatorApplicationTransactionEditor { | ||||
public function getEditorApplicationClass() { | public function getEditorApplicationClass() { | ||||
return 'PhabricatorConfigApplication'; | return 'PhabricatorConfigApplication'; | ||||
} | } | ||||
public function getEditorObjectsDescription() { | public function getEditorObjectsDescription() { | ||||
return pht('Phabricator Configuration'); | return pht('%s Configuration', PhabricatorPlatformSite::getName()); | ||||
} | } | ||||
public function getTransactionTypes() { | public function getTransactionTypes() { | ||||
$types = parent::getTransactionTypes(); | $types = parent::getTransactionTypes(); | ||||
$types[] = PhabricatorConfigTransaction::TYPE_EDIT; | $types[] = PhabricatorConfigTransaction::TYPE_EDIT; | ||||
return $types; | return $types; | ||||
▲ Show 20 Lines • Show All 146 Lines • Show Last 20 Lines |
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