1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-08 04:48:28 +01:00
phorge-phorge/src/applications/herald/action/HeraldNotifyActionGroup.php
epriestley 56dd5211f0 Make Herald action modularization more aggressive
Summary:
Ref T8726. Herald actions are technically sort-of modular already, but make them more aggressively modular similar to `HeraldField`.

I plan to obsolete and replace `HeraldCustomAction`.

Test Plan: Saw actions in nice groups; created and ran a "Do Nothing" action. Transcripts are a bit rough for now.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: joshuaspence, epriestley

Maniphest Tasks: T8726

Differential Revision: https://secure.phabricator.com/D13646
2015-08-03 14:33:20 -07:00

15 lines
238 B
PHP

<?php
final class HeraldNotifyActionGroup extends HeraldActionGroup {
const ACTIONGROUPKEY = 'notify';
public function getGroupLabel() {
return pht('Notify');
}
protected function getGroupOrder() {
return 2000;
}
}