Changeset View
Changeset View
Standalone View
Standalone View
src/applications/herald/adapter/HeraldDifferentialRevisionAdapter.php
Show All 30 Lines | final class HeraldDifferentialRevisionAdapter extends HeraldAdapter { | ||||
public function getAdapterContentType() { | public function getAdapterContentType() { | ||||
return 'differential'; | return 'differential'; | ||||
} | } | ||||
public function getAdapterContentName() { | public function getAdapterContentName() { | ||||
return pht('Differential Revisions'); | return pht('Differential Revisions'); | ||||
} | } | ||||
public function getAdapterContentDescription() { | |||||
return pht( | |||||
"React to revisions being created or updated.\n". | |||||
"Revision rules can send email, flag revisions, add reviewers, ". | |||||
"and run build plans."); | |||||
} | |||||
public function getFields() { | public function getFields() { | ||||
return array_merge( | return array_merge( | ||||
array( | array( | ||||
self::FIELD_TITLE, | self::FIELD_TITLE, | ||||
self::FIELD_BODY, | self::FIELD_BODY, | ||||
self::FIELD_AUTHOR, | self::FIELD_AUTHOR, | ||||
self::FIELD_AUTHOR_PROJECTS, | self::FIELD_AUTHOR_PROJECTS, | ||||
self::FIELD_REVIEWERS, | self::FIELD_REVIEWERS, | ||||
▲ Show 20 Lines • Show All 446 Lines • Show Last 20 Lines |