Changeset View
Changeset View
Standalone View
Standalone View
src/applications/almanac/editor/AlmanacServiceEditEngine.php
Show All 27 Lines | public function getSummaryHeader() { | ||||
return pht('Edit Almanac Service Configurations'); | return pht('Edit Almanac Service Configurations'); | ||||
} | } | ||||
public function getSummaryText() { | public function getSummaryText() { | ||||
return pht('This engine is used to edit Almanac services.'); | return pht('This engine is used to edit Almanac services.'); | ||||
} | } | ||||
public function getEngineApplicationClass() { | public function getEngineApplicationClass() { | ||||
return 'PhabricatorAlmanacApplication'; | return PhabricatorAlmanacApplication::class; | ||||
} | } | ||||
protected function newEditableObject() { | protected function newEditableObject() { | ||||
$service_type = $this->getServiceType(); | $service_type = $this->getServiceType(); | ||||
return AlmanacService::initializeNewService($service_type); | return AlmanacService::initializeNewService($service_type); | ||||
} | } | ||||
protected function newEditableObjectFromConduit(array $raw_xactions) { | protected function newEditableObjectFromConduit(array $raw_xactions) { | ||||
▲ Show 20 Lines • Show All 105 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