Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F8885305
ManiphestCustomField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
863 B
Subscribers
None
ManiphestCustomField.php
View Options
<?php
abstract
class
ManiphestCustomField
extends
PhabricatorCustomField
{
public
function
newStorageObject
()
{
return
new
ManiphestCustomFieldStorage
();
}
protected
function
newStringIndexStorage
()
{
return
new
ManiphestCustomFieldStringIndex
();
}
protected
function
newNumericIndexStorage
()
{
return
new
ManiphestCustomFieldNumericIndex
();
}
/**
* When the user creates a task, the UI prompts them to "Create another
* similar task". This copies some fields (e.g., Owner and CCs) but not other
* fields (e.g., description). If this custom field should also be copied,
* return true from this method.
*
* @return bool True to copy the default value from the template task when
* creating a new similar task.
*/
public
function
shouldCopyWhenCreatingSimilarTask
()
{
return
false
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Thu, Jun 10, 12:27 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
3384295
Default Alt Text
ManiphestCustomField.php (863 B)
Attached To
rP Phabricator
Event Timeline
Log In to Comment