mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-07 20:38:32 +01:00
Summary: Fixes T6859. Adds a readout in `/config/` of installed edge and PHID types. See also D13626. Test Plan: {F643222} Reviewers: btrahan, chad Reviewed By: chad Subscribers: epriestley Maniphest Tasks: T6859 Differential Revision: https://secure.phabricator.com/D13662
17 lines
457 B
PHP
17 lines
457 B
PHP
<?php
|
|
|
|
abstract class PhabricatorConfigModule extends Phobject {
|
|
|
|
abstract public function getModuleKey();
|
|
abstract public function getModuleName();
|
|
abstract public function renderModuleStatus(AphrontRequest $request);
|
|
|
|
final public static function getAllModules() {
|
|
return id(new PhutilClassMapQuery())
|
|
->setAncestorClass(__CLASS__)
|
|
->setUniqueMethod('getModuleKey')
|
|
->setSortMethod('getModuleName')
|
|
->execute();
|
|
}
|
|
|
|
}
|