Path: blob/master/src/applications/herald/editor/HeraldWebhookEditor.php
12256 views
<?php12final class HeraldWebhookEditor3extends PhabricatorApplicationTransactionEditor {45public function getEditorApplicationClass() {6return 'PhabricatorHeraldApplication';7}89public function getEditorObjectsDescription() {10return pht('Webhooks');11}1213public function getCreateObjectTitle($author, $object) {14return pht('%s created this webhook.', $author);15}1617public function getCreateObjectTitleForFeed($author, $object) {18return pht('%s created %s.', $author, $object);19}2021public function getTransactionTypes() {22$types = parent::getTransactionTypes();2324$types[] = PhabricatorTransactions::TYPE_VIEW_POLICY;25$types[] = PhabricatorTransactions::TYPE_EDIT_POLICY;2627return $types;28}2930}313233