Path: blob/master/src/applications/maniphest/field/ManiphestCustomField.php
12256 views
<?php12abstract class ManiphestCustomField3extends PhabricatorCustomField {45public function newStorageObject() {6return new ManiphestCustomFieldStorage();7}89protected function newStringIndexStorage() {10return new ManiphestCustomFieldStringIndex();11}1213protected function newNumericIndexStorage() {14return new ManiphestCustomFieldNumericIndex();15}1617/**18* When the user creates a task, the UI prompts them to "Create another19* similar task". This copies some fields (e.g., Owner and CCs) but not other20* fields (e.g., description). If this custom field should also be copied,21* return true from this method.22*23* @return bool True to copy the default value from the template task when24* creating a new similar task.25*/26public function shouldCopyWhenCreatingSimilarTask() {27return false;28}2930}313233