Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / herald / field / HeraldFieldGroup.php
blob9e13f17cb75b52d3e075b0eace51197ce4e9fc5c
1 <?php
3 abstract class HeraldFieldGroup extends HeraldGroup {
5 final public function getGroupKey() {
6 return $this->getPhobjectClassConstant('FIELDGROUPKEY');
9 final public static function getAllFieldGroups() {
10 return id(new PhutilClassMapQuery())
11 ->setAncestorClass(__CLASS__)
12 ->setUniqueMethod('getGroupKey')
13 ->setSortMethod('getSortKey')
14 ->execute();