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