3 abstract class ManiphestCustomField
4 extends PhabricatorCustomField
{
6 public function newStorageObject() {
7 return new ManiphestCustomFieldStorage();
10 protected function newStringIndexStorage() {
11 return new ManiphestCustomFieldStringIndex();
14 protected function newNumericIndexStorage() {
15 return new ManiphestCustomFieldNumericIndex();
19 * When the user creates a task, the UI prompts them to "Create another
20 * similar task". This copies some fields (e.g., Owner and CCs) but not other
21 * fields (e.g., description). If this custom field should also be copied,
22 * return true from this method.
24 * @return bool True to copy the default value from the template task when
25 * creating a new similar task.
27 public function shouldCopyWhenCreatingSimilarTask() {