Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/editor/PhabricatorCalendarEditEngine.php
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | final class PhabricatorCalendarEditEngine | ||||
protected function getObjectName() { | protected function getObjectName() { | ||||
return pht('Event'); | return pht('Event'); | ||||
} | } | ||||
protected function getObjectViewURI($object) { | protected function getObjectViewURI($object) { | ||||
return $object->getURI(); | return $object->getURI(); | ||||
} | } | ||||
protected function getEditorURI() { | |||||
return $this->getApplication()->getApplicationURI('event/editpro/'); | |||||
} | |||||
protected function buildCustomEditFields($object) { | protected function buildCustomEditFields($object) { | ||||
$fields = array( | $fields = array( | ||||
id(new PhabricatorTextEditField()) | id(new PhabricatorTextEditField()) | ||||
->setKey('name') | ->setKey('name') | ||||
->setLabel(pht('Name')) | ->setLabel(pht('Name')) | ||||
->setDescription(pht('Name of the event.')) | ->setDescription(pht('Name of the event.')) | ||||
->setConduitDescription(pht('Rename the event.')) | ->setConduitDescription(pht('Rename the event.')) | ||||
->setConduitTypeDescription(pht('New event name.')) | ->setConduitTypeDescription(pht('New event name.')) | ||||
Show All 9 Lines |