Differential D12469 Diff 29960 src/applications/diffusion/typeahead/DiffusionArcanistProjectDatasource.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/typeahead/DiffusionArcanistProjectDatasource.php
<?php | <?php | ||||
final class DiffusionArcanistProjectDatasource | final class DiffusionArcanistProjectDatasource | ||||
extends PhabricatorTypeaheadDatasource { | extends PhabricatorTypeaheadDatasource { | ||||
public function isBrowsable() { | public function isBrowsable() { | ||||
// TODO: We should probably make this browsable, or maybe remove it. | // TODO: We should probably make this browsable, or maybe remove it. | ||||
return false; | return false; | ||||
} | } | ||||
public function getBrowseTitle() { | |||||
return pht('Browse Arcanist Projects'); | |||||
} | |||||
public function getPlaceholderText() { | public function getPlaceholderText() { | ||||
return pht('Type an arcanist project name...'); | return pht('Type an arcanist project name...'); | ||||
} | } | ||||
public function getDatasourceApplicationClass() { | public function getDatasourceApplicationClass() { | ||||
return 'PhabricatorDiffusionApplication'; | return 'PhabricatorDiffusionApplication'; | ||||
} | } | ||||
Show All 17 Lines |