Changeset View
Changeset View
Standalone View
Standalone View
src/applications/macro/application/PhabricatorMacroApplication.php
Show All 39 Lines | return array( | ||||
'meme/create/' => 'PhabricatorMacroMemeDialogController', | 'meme/create/' => 'PhabricatorMacroMemeDialogController', | ||||
), | ), | ||||
); | ); | ||||
} | } | ||||
public function getRemarkupRules() { | public function getRemarkupRules() { | ||||
return array( | return array( | ||||
new PhabricatorIconRemarkupRule(), | new PhabricatorIconRemarkupRule(), | ||||
new PhabricatorEmojiRemarkupRule(), | |||||
); | ); | ||||
} | } | ||||
protected function getCustomCapabilities() { | protected function getCustomCapabilities() { | ||||
return array( | return array( | ||||
PhabricatorMacroManageCapability::CAPABILITY => array( | PhabricatorMacroManageCapability::CAPABILITY => array( | ||||
'caption' => pht('Allows creating and editing macros.'), | 'caption' => pht('Allows creating and editing macros.'), | ||||
), | ), | ||||
); | ); | ||||
} | } | ||||
} | } |