Changeset View
Changeset View
Standalone View
Standalone View
src/applications/files/editor/PhabricatorFileEditEngine.php
Show All 26 Lines | public function getSummaryText() { | ||||
return pht('Configure creation and editing forms in Files.'); | return pht('Configure creation and editing forms in Files.'); | ||||
} | } | ||||
public function getEngineApplicationClass() { | public function getEngineApplicationClass() { | ||||
return 'PhabricatorFilesApplication'; | return 'PhabricatorFilesApplication'; | ||||
} | } | ||||
protected function newEditableObject() { | protected function newEditableObject() { | ||||
return PhabricatorFile::initializeNewFile(); | return PhabricatorFile::initializeNewFile($this->getViewer()); | ||||
} | } | ||||
protected function newObjectQuery() { | protected function newObjectQuery() { | ||||
$query = new PhabricatorFileQuery(); | $query = new PhabricatorFileQuery(); | ||||
$query->withIsDeleted(false); | $query->withIsDeleted(false); | ||||
return $query; | return $query; | ||||
} | } | ||||
Show All 38 Lines |