mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-03 20:22:46 +01:00
56dd5211f0
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
15 lines
241 B
PHP
15 lines
241 B
PHP
<?php
|
|
|
|
final class HeraldPreventActionGroup extends HeraldActionGroup {
|
|
|
|
const ACTIONGROUPKEY = 'prevent';
|
|
|
|
public function getGroupLabel() {
|
|
return pht('Prevent');
|
|
}
|
|
|
|
protected function getGroupOrder() {
|
|
return 3000;
|
|
}
|
|
|
|
}
|