Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1166235
AddANoteDifferentialField.php
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
epriestley
Mar 10 2016, 1:48 AM
2016-03-10 01:48:36 (UTC+0)
Size
547 B
Referenced Files
None
Subscribers
None
AddANoteDifferentialField.php
View Options
<?php
final
class
AddANoteDifferentialField
extends
DifferentialCustomField
{
public
function
getFieldKey
()
{
return
'mycompany:customnote'
;
}
public
function
shouldAppearInPropertyView
()
{
return
true
;
}
public
function
renderPropertyViewValue
(
array
$handles
)
{
return
null
;
}
public
function
getWarningsForDetailView
()
{
$warnings
=
array
();
$warnings
[]
=
pht
(
'If you accept a change that has a bug, you will be fired '
.
'immediately! Forever! So be careful!'
);
return
$warnings
;
}
}
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
74750
Default Alt Text
AddANoteDifferentialField.php (547 B)
Attached To
Mode
P1957 AddANoteDifferentialField.php
Attached
Detach File
Event Timeline
Log In to Comment