Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F21409776
PhabricatorUIConfigOptions.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
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
Fri, Jul 31, 11:24 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
16405705
Default Alt Text
PhabricatorUIConfigOptions.php (761 B)
Attached To
Mode
rP Phabricator
Attached
Detach File
Event Timeline
Log In to Comment