@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3abstract class HeraldActionGroup extends HeraldGroup {
4
5 final public function getGroupKey() {
6 return $this->getPhobjectClassConstant('ACTIONGROUPKEY');
7 }
8
9 final public static function getAllActionGroups() {
10 return id(new PhutilClassMapQuery())
11 ->setAncestorClass(self::class)
12 ->setUniqueMethod('getGroupKey')
13 ->setSortMethod('getSortKey')
14 ->execute();
15 }
16}