Differential D25002 Diff 39 src/applications/uiexample/examples/PhabricatorProjectBuiltinsExample.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/uiexample/examples/PhabricatorProjectBuiltinsExample.php
<?php | <?php | ||||
final class PhabricatorProjectBuiltinsExample extends PhabricatorUIExample { | final class PhabricatorProjectBuiltinsExample extends PhabricatorUIExample { | ||||
public function getName() { | public function getName() { | ||||
return pht('Project Builtin Images'); | return pht('Project Builtin Images'); | ||||
} | } | ||||
public function getDescription() { | public function getDescription() { | ||||
return pht('Builtin Project Images that ship with Phabricator.'); | return pht('Builtin Project Images that ship with %s.', | ||||
PhabricatorPlatformSite::getName()); | |||||
} | } | ||||
public function getCategory() { | public function getCategory() { | ||||
return pht('Catalogs'); | return pht('Catalogs'); | ||||
} | } | ||||
public function renderExample() { | public function renderExample() { | ||||
$viewer = $this->getRequest()->getUser(); | $viewer = $this->getRequest()->getUser(); | ||||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0