Differential D19842 Diff 47380 src/applications/almanac/engineextension/AlmanacPropertiesEditEngineExtension.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/almanac/engineextension/AlmanacPropertiesEditEngineExtension.php
Show All 24 Lines | public function buildCustomEditFields( | ||||
return array( | return array( | ||||
id(new AlmanacSetPropertyEditField()) | id(new AlmanacSetPropertyEditField()) | ||||
->setKey('property.set') | ->setKey('property.set') | ||||
->setTransactionType($object->getAlmanacPropertySetTransactionType()) | ->setTransactionType($object->getAlmanacPropertySetTransactionType()) | ||||
->setConduitDescription( | ->setConduitDescription( | ||||
pht('Pass a map of values to set one or more properties.')) | pht('Pass a map of values to set one or more properties.')) | ||||
->setConduitTypeDescription(pht('Map of property names to values.')) | ->setConduitTypeDescription(pht('Map of property names to values.')) | ||||
->setIsConduitOnly(true), | ->setIsFormField(false), | ||||
id(new AlmanacDeletePropertyEditField()) | id(new AlmanacDeletePropertyEditField()) | ||||
->setKey('property.delete') | ->setKey('property.delete') | ||||
->setTransactionType($object->getAlmanacPropertyDeleteTransactionType()) | ->setTransactionType($object->getAlmanacPropertyDeleteTransactionType()) | ||||
->setConduitDescription( | ->setConduitDescription( | ||||
pht('Pass a list of property names to delete properties.')) | pht('Pass a list of property names to delete properties.')) | ||||
->setConduitTypeDescription(pht('List of property names.')) | ->setConduitTypeDescription(pht('List of property names.')) | ||||
->setIsConduitOnly(true), | ->setIsFormField(false), | ||||
); | ); | ||||
} | } | ||||
} | } |