Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / search / index / PhabricatorIndexEngineExtensionModule.php
blob57ca63bc522e54c1671f45fab29f096d4969e729
1 <?php
3 final class PhabricatorIndexEngineExtensionModule
4 extends PhabricatorConfigModule {
6 public function getModuleKey() {
7 return 'indexengine';
10 public function getModuleName() {
11 return pht('Engine: Index');
14 public function renderModuleStatus(AphrontRequest $request) {
15 $viewer = $request->getViewer();
17 $extensions = PhabricatorIndexEngineExtension::getAllExtensions();
19 $rows = array();
20 foreach ($extensions as $extension) {
21 $rows[] = array(
22 get_class($extension),
23 $extension->getExtensionName(),
27 return id(new AphrontTableView($rows))
28 ->setHeaders(
29 array(
30 pht('Class'),
31 pht('Name'),
33 ->setColumnClasses(
34 array(
35 null,
36 'wide pri',
37 ));