Changeset View
Changeset View
Standalone View
Standalone View
src/applications/files/document/PhabricatorVoidDocumentEngine.php
<?php | <?php | ||||
final class PhabricatorVoidDocumentEngine | final class PhabricatorVoidDocumentEngine | ||||
extends PhabricatorDocumentEngine { | extends PhabricatorDocumentEngine { | ||||
const ENGINEKEY = 'void'; | const ENGINEKEY = 'void'; | ||||
public function getViewAsLabel(PhabricatorDocumentRef $ref) { | |||||
return null; | |||||
} | |||||
protected function getDocumentIconIcon(PhabricatorDocumentRef $ref) { | protected function getDocumentIconIcon(PhabricatorDocumentRef $ref) { | ||||
return 'fa-file'; | return 'fa-file'; | ||||
} | } | ||||
protected function getContentScore() { | protected function getContentScore() { | ||||
return 1000; | return 1000; | ||||
} | } | ||||
Show All 19 Lines |