From d0098bc43626ef6b69a2f177dcee6fa8ab2c30ed Mon Sep 17 00:00:00 2001 From: epriestley Date: Sat, 24 Oct 2015 09:41:13 -0700 Subject: [PATCH] Provide an application link for the Macro PHID type Summary: Ref T9625. This is an example of how to fill in the missing calls. Test Plan: - Verified that an icon is now shown for feed stories. - Verified that an icon is now shown in the "PHID Types" module panel in Config. {F906325} {F906326} Reviewers: chad Reviewed By: chad Maniphest Tasks: T9625 Differential Revision: https://secure.phabricator.com/D14324 --- src/applications/macro/phid/PhabricatorMacroMacroPHIDType.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/applications/macro/phid/PhabricatorMacroMacroPHIDType.php b/src/applications/macro/phid/PhabricatorMacroMacroPHIDType.php index 7d2dcfc9ad..19c7f5a1fc 100644 --- a/src/applications/macro/phid/PhabricatorMacroMacroPHIDType.php +++ b/src/applications/macro/phid/PhabricatorMacroMacroPHIDType.php @@ -8,6 +8,10 @@ final class PhabricatorMacroMacroPHIDType extends PhabricatorPHIDType { return pht('Image Macro'); } + public function getPHIDTypeApplicationClass() { + return 'PhabricatorMacroApplication'; + } + public function getTypeIcon() { return 'fa-meh-o'; }