@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 34 lines 766 B view raw
1<?php 2 3final class PhameBlogProfileImageTransaction 4 extends PhameBlogTransactionType { 5 6 // TODO: Migrate these transactions ha ha .... ha 7 const TRANSACTIONTYPE = 'phame.blog.header.image'; 8 9 public function generateOldValue($object) { 10 return $object->getProfileImagePHID(); 11 } 12 13 public function applyInternalEffects($object, $value) { 14 $object->setProfileImagePHID($value); 15 } 16 17 public function getTitle() { 18 return pht( 19 '%s changed the profile image for this blog.', 20 $this->renderAuthor()); 21 } 22 23 public function getTitleForFeed() { 24 return pht( 25 '%s changed the profile image for blog %s.', 26 $this->renderAuthor(), 27 $this->renderObject()); 28 } 29 30 public function getIcon() { 31 return 'fa-file-image-o'; 32 } 33 34}