Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2359590
PhabricatorUIConfigOptions.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
761 B
Referenced Files
None
Subscribers
None
PhabricatorUIConfigOptions.php
View Options
<?php
final
class
PhabricatorUIConfigOptions
extends
PhabricatorApplicationConfigOptions
{
public
function
getName
()
{
return
pht
(
'User Interface'
);
}
public
function
getDescription
()
{
return
pht
(
'Configure the Phabricator UI, including colors.'
);
}
public
function
getOptions
()
{
$manifest
=
PHUIIconView
::
getSheetManifest
(
'main-header'
);
$options
=
array
();
foreach
(
array_keys
(
$manifest
)
as
$sprite_name
)
{
$key
=
substr
(
$sprite_name
,
strlen
(
'main-header-'
));
$options
[
$key
]
=
$key
;
}
return
array
(
$this
->
newOption
(
'ui.header-color'
,
'enum'
,
'dark'
)
->
setDescription
(
pht
(
'Sets the color of the main header.'
))
->
setEnumOptions
(
$options
),
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Sep 16, 3:18 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
447308
Default Alt Text
PhabricatorUIConfigOptions.php (761 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment