You are here

public function CmisConnectionApi::getConfigFromId in CMIS API 8.2

Same name and namespace in other branches
  1. 3.0.x src/CmisConnectionApi.php \Drupal\cmis\CmisConnectionApi::getConfigFromId()

Get the configuration from configuration id.

Parameters

string $config_id: Entity label.

File

src/CmisConnectionApi.php, line 104

Class

CmisConnectionApi
Description of CmisConnectionApi.

Namespace

Drupal\cmis

Code

public function getConfigFromId($config_id) {
  $storage = \Drupal::entityTypeManager()
    ->getStorage('cmis_connection_entity');
  return $storage
    ->load($config_id);
}