Page MenuHomePhorge

PhabricatorExtendingPhabricatorConfigOptions.php
No OneTemporary

PhabricatorExtendingPhabricatorConfigOptions.php

<?php
final class PhabricatorExtendingPhabricatorConfigOptions
extends PhabricatorApplicationConfigOptions {
public function getName() {
return pht('Extensions');
}
public function getDescription() {
return pht('Manage extensions.');
}
public function getIcon() {
return 'fa-rocket';
}
public function getGroup() {
return 'core';
}
public function getOptions() {
return array(
$this->newOption('load-libraries', 'list<string>', array())
->setLocked(true)
->setSummary(pht('Paths to additional phutil libraries to load.'))
->addExample('/srv/our-libs/sekrit-phutil', pht('Valid Setting')),
$this->newOption('events.listeners', 'list<string>', array())
->setLocked(true)
->setSummary(
pht('Listeners receive callbacks when interesting things occur.'))
->setDescription(
pht(
'You can respond to various application events by installing '.
'listeners, which will receive callbacks when interesting things '.
'occur. Specify a list of classes which extend '.
'PhabricatorEventListener here.'))
->addExample('MyEventListener', pht('Valid Setting')),
);
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Jan 19, 17:05 (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1126775
Default Alt Text
PhabricatorExtendingPhabricatorConfigOptions.php (1 KB)

Event Timeline