Differential D12469 Diff 29960 src/applications/owners/typeahead/PhabricatorOwnersPackageDatasource.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/owners/typeahead/PhabricatorOwnersPackageDatasource.php
<?php | <?php | ||||
final class PhabricatorOwnersPackageDatasource | final class PhabricatorOwnersPackageDatasource | ||||
extends PhabricatorTypeaheadDatasource { | extends PhabricatorTypeaheadDatasource { | ||||
public function isBrowsable() { | public function isBrowsable() { | ||||
// TODO: Make this browsable. | // TODO: Make this browsable. | ||||
return false; | return false; | ||||
} | } | ||||
public function getBrowseTitle() { | |||||
return pht('Browse Packages'); | |||||
} | |||||
public function getPlaceholderText() { | public function getPlaceholderText() { | ||||
return pht('Type a package name...'); | return pht('Type a package name...'); | ||||
} | } | ||||
public function getDatasourceApplicationClass() { | public function getDatasourceApplicationClass() { | ||||
return 'PhabricatorOwnersApplication'; | return 'PhabricatorOwnersApplication'; | ||||
} | } | ||||
Show All 21 Lines |