Differential D25524 Diff 1678 src/applications/auth/editor/PhabricatorAuthContactNumberEditEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/editor/PhabricatorAuthContactNumberEditEngine.php
Show All 16 Lines | public function getSummaryHeader() { | ||||
return pht('Edit Contact Numbers'); | return pht('Edit Contact Numbers'); | ||||
} | } | ||||
public function getSummaryText() { | public function getSummaryText() { | ||||
return pht('This engine is used to edit contact numbers.'); | return pht('This engine is used to edit contact numbers.'); | ||||
} | } | ||||
public function getEngineApplicationClass() { | public function getEngineApplicationClass() { | ||||
return 'PhabricatorAuthApplication'; | return PhabricatorAuthApplication::class; | ||||
} | } | ||||
protected function newEditableObject() { | protected function newEditableObject() { | ||||
$viewer = $this->getViewer(); | $viewer = $this->getViewer(); | ||||
return PhabricatorAuthContactNumber::initializeNewContactNumber($viewer); | return PhabricatorAuthContactNumber::initializeNewContactNumber($viewer); | ||||
} | } | ||||
protected function newObjectQuery() { | protected function newObjectQuery() { | ||||
▲ Show 20 Lines • Show All 53 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