Generate file attachment transactions for explicit Remarkup attachments on common...
[phabricator.git] / src / applications / diffusion / herald / HeraldPreCommitRefAdapter.php
blob76b360b84d840466e1bc81f2c931b3b0f29aef80
1 <?php
3 final class HeraldPreCommitRefAdapter extends HeraldPreCommitAdapter {
5 public function getAdapterContentName() {
6 return pht('Commit Hook: Branches/Tags/Bookmarks');
9 public function getAdapterSortOrder() {
10 return 2000;
13 public function getAdapterContentDescription() {
14 return pht(
15 "React to branches and tags being pushed to hosted repositories.\n".
16 "Hook rules can block changes and send push summary mail.");
19 public function isPreCommitRefAdapter() {
20 return true;
23 public function getHeraldName() {
24 return pht('Push Log (Ref)');