Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / search / index / PhabricatorFulltextEngineExtensionModule.php
blob7b3c5b6cad4767207700dd8c5cf46e85aeb43344
1 <?php
3 final class PhabricatorFulltextEngineExtensionModule
4 extends PhabricatorConfigModule {
6 public function getModuleKey() {
7 return 'fulltextengine';
10 public function getModuleName() {
11 return pht('Engine: Fulltext');
14 public function renderModuleStatus(AphrontRequest $request) {
15 $viewer = $request->getViewer();
17 $extensions = PhabricatorFulltextEngineExtension::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 ));