Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93296410
PhabricatorOlderInlinesSetting.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
Wed, Nov 27, 17:19
Size
910 B
Mime Type
text/x-php
Expires
Fri, Nov 29, 17:19 (2 d)
Engine
blob
Format
Raw Data
Handle
22605319
Attached To
rPH Phabricator
PhabricatorOlderInlinesSetting.php
View Options
<?php
final
class
PhabricatorOlderInlinesSetting
extends
PhabricatorSelectSetting
{
const
SETTINGKEY
=
'diff-ghosts'
;
const
VALUE_GHOST_INLINES_ENABLED
=
'default'
;
const
VALUE_GHOST_INLINES_DISABLED
=
'disabled'
;
public
function
getSettingName
()
{
return
pht
(
'Show Older Inlines'
);
}
protected
function
getControlInstructions
()
{
return
pht
(
'When a revision is updated, Phabricator attempts to bring inline '
.
'comments on the older version forward to the new changes. You can '
.
'disable this behavior if you prefer comments stay anchored in one '
.
'place.'
);
}
public
function
getSettingDefaultValue
()
{
return
self
::
VALUE_GHOST_INLINES_ENABLED
;
}
protected
function
getSelectOptions
()
{
return
array
(
self
::
VALUE_GHOST_INLINES_ENABLED
=>
pht
(
'Enabled'
),
self
::
VALUE_GHOST_INLINES_DISABLED
=>
pht
(
'Disabled'
),
);
}
}
Event Timeline
Log In to Comment