mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 19:40:55 +01:00
1069c2bff9
Summary: Ref T12738. Moves existing non-modular transactions to modular transactions. Some of these are pretty flimsy, but a lot of them don't actually work or do anything in Nuance yet anyway. Test Plan: Gently poked Nuance, nothing fell over. Reviewers: chad Reviewed By: chad Maniphest Tasks: T12738 Differential Revision: https://secure.phabricator.com/D17990
23 lines
502 B
PHP
23 lines
502 B
PHP
<?php
|
|
|
|
final class NuanceItemEditor
|
|
extends PhabricatorApplicationTransactionEditor {
|
|
|
|
public function getEditorApplicationClass() {
|
|
return 'PhabricatorNuanceApplication';
|
|
}
|
|
|
|
public function getEditorObjectsDescription() {
|
|
return pht('Nuance Items');
|
|
}
|
|
|
|
public function getTransactionTypes() {
|
|
$types = parent::getTransactionTypes();
|
|
|
|
$types[] = PhabricatorTransactions::TYPE_VIEW_POLICY;
|
|
$types[] = PhabricatorTransactions::TYPE_EDIT_POLICY;
|
|
|
|
return $types;
|
|
}
|
|
|
|
}
|