private function CmisConnectionApi::setConfig in CMIS API 8
Same name and namespace in other branches
- 8.2 src/CmisConnectionApi.php \Drupal\cmis\CmisConnectionApi::setConfig()
- 3.0.x src/CmisConnectionApi.php \Drupal\cmis\CmisConnectionApi::setConfig()
Set the configuration fom configuration id.
Parameters
string $config_id:
1 call to CmisConnectionApi::setConfig()
File
- src/
CmisConnectionApi.php, line 104
Class
- CmisConnectionApi
- Description of CmisConnectionApi
Namespace
Drupal\cmisCode
private function setConfig($config_id) {
$storage = \Drupal::entityTypeManager()
->getStorage('cmis_connection_entity');
if ($this->config = $storage
->load($config_id)) {
$this
->setHttpInvoker();
}
}