1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 03:12:41 +01:00
phorge-phorge/src/applications/metamta/herald/PhabricatorMailEmailHeraldField.php
epriestley 7a1bbe6634 Add basic support for Herald outbound rules
Summary: Ref T5791. This is still very basic (no global actions, no support for matching headers/bodies/recipients/etc) but gets the core in.

Test Plan:
{F715209}

{F715211}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T5791

Differential Revision: https://secure.phabricator.com/D13897
2015-08-15 10:54:33 -07:00

14 lines
294 B
PHP

<?php
abstract class PhabricatorMailEmailHeraldField
extends HeraldField {
public function supportsObject($object) {
return ($object instanceof PhabricatorMetaMTAMail);
}
public function getFieldGroupKey() {
return PhabricatorMailEmailHeraldFieldGroup::FIELDGROUPKEY;
}
}