Group and order Herald fields

Summary:
Ref T8726. Some adapters now have a large number of fields, and we lost the sort-of-human-readable implicit ordering when fields were modularized.

Instead, group and sort fields.

Test Plan: {F603066}

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T8726

Differential Revision: https://secure.phabricator.com/D13619
This commit is contained in:
epriestley
2015-07-16 14:13:13 -07:00
parent 97ccd93670
commit 0306eb70ed
69 changed files with 546 additions and 19 deletions

View File

@@ -8,6 +8,10 @@ final class HeraldSpaceField extends HeraldField {
return pht('Space');
}
public function getFieldGroupKey() {
return HeraldSupportFieldGroup::FIELDGROUPKEY;
}
public function supportsObject($object) {
return ($object instanceof PhabricatorSpacesInterface);
}