Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorConfigOption.php
| Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | final class PhabricatorConfigOption | ||||
| } | } | ||||
| public function getLockedMessage() { | public function getLockedMessage() { | ||||
| if ($this->lockedMessage !== null) { | if ($this->lockedMessage !== null) { | ||||
| return $this->lockedMessage; | return $this->lockedMessage; | ||||
| } | } | ||||
| return pht( | return pht( | ||||
| 'This configuration is locked and can not be edited from the web '. | 'This configuration is locked and can not be edited from the web '. | ||||
| 'interface. Use `%s` in `%s` to edit it.', | 'interface. Use %s in %s to edit it.', | ||||
| './bin/config', | phutil_tag('tt', array(), './bin/config'), | ||||
| 'phabricator/'); | phutil_tag('tt', array(), 'phabricator/')); | ||||
| } | } | ||||
| public function addExample($value, $description) { | public function addExample($value, $description) { | ||||
| $this->examples[] = array($value, $description); | $this->examples[] = array($value, $description); | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getExamples() { | public function getExamples() { | ||||
| ▲ Show 20 Lines • Show All 151 Lines • Show Last 20 Lines | |||||