Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93104059
PhabricatorEditorExtensionModule.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Nov 26, 06:04
Size
801 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 06:04 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22576102
Attached To
rPH Phabricator
PhabricatorEditorExtensionModule.php
View Options
<?php
final
class
PhabricatorEditorExtensionModule
extends
PhabricatorConfigModule
{
public
function
getModuleKey
()
{
return
'editor'
;
}
public
function
getModuleName
()
{
return
pht
(
'Engine: Editor'
);
}
public
function
renderModuleStatus
(
AphrontRequest
$request
)
{
$viewer
=
$request
->
getViewer
();
$extensions
=
PhabricatorEditorExtension
::
getAllExtensions
();
$rows
=
array
();
foreach
(
$extensions
as
$extension
)
{
$rows
[]
=
array
(
get_class
(
$extension
),
$extension
->
getExtensionName
(),
);
}
return
id
(
new
AphrontTableView
(
$rows
))
->
setHeaders
(
array
(
pht
(
'Class'
),
pht
(
'Name'
),
))
->
setColumnClasses
(
array
(
null
,
'wide pri'
,
));
}
}
Event Timeline
Log In to Comment