Differential D15327 Diff 36968 src/applications/almanac/servicetype/AlmanacClusterRepositoryServiceType.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/almanac/servicetype/AlmanacClusterRepositoryServiceType.php
Show All 12 Lines | final class AlmanacClusterRepositoryServiceType | ||||
public function getServiceTypeDescription() { | public function getServiceTypeDescription() { | ||||
return pht( | return pht( | ||||
'Defines a repository service for use in a Phabricator cluster.'); | 'Defines a repository service for use in a Phabricator cluster.'); | ||||
} | } | ||||
public function getFieldSpecifications() { | public function getFieldSpecifications() { | ||||
return array( | return array( | ||||
'closed' => array( | 'closed' => id(new PhabricatorTextEditField()), | ||||
'type' => 'bool', | |||||
'name' => pht('Closed'), | |||||
'default' => false, | |||||
'strings' => array( | |||||
'edit.checkbox' => pht( | |||||
'Prevent new repositories from being allocated on this '. | |||||
'service.'), | |||||
), | |||||
), | |||||
); | ); | ||||
} | } | ||||
} | } |