protected function MoxtraConnector::init in Opigno Moxtra 3.x
Same name and namespace in other branches
- 8 src/MoxtraConnector.php \Drupal\opigno_moxtra\MoxtraConnector::init()
Set init options for Moxtra.
1 call to MoxtraConnector::init()
- MoxtraConnector::__construct in src/
MoxtraConnector.php - Constructs a MoxtraConnector object.
File
- src/
MoxtraConnector.php, line 127
Class
Namespace
Drupal\opigno_moxtraCode
protected function init() {
$options = $this->configFactory
->get('opigno_moxtra.settings')
->getRawData();
if (isset($options['url'])) {
$this->url = $options['url'];
}
unset($options['url'], $options['status']);
$this->settings = $options;
return $this->settings;
}