You are here

public function CmisRepositoryController::__construct in CMIS API 8.2

Same name and namespace in other branches
  1. 8 src/Controller/CmisRepositoryController.php \Drupal\cmis\Controller\CmisRepositoryController::__construct()
  2. 3.0.x src/Controller/CmisRepositoryController.php \Drupal\cmis\Controller\CmisRepositoryController::__construct()

Construct.

Parameters

string $config: Entity label.

string $folder_id: CMIS folder id.

array $additional_settings: Show additional_settings in field browser formatter.

File

src/Controller/CmisRepositoryController.php, line 47

Class

CmisRepositoryController
Class CmisRepositoryController.

Namespace

Drupal\cmis\Controller

Code

public function __construct($config = '', $folder_id = '', array $additional_settings = []) {
  if (!empty($config) && !empty($folder_id)) {
    $this
      ->initBrowser($config, $folder_id, $additional_settings);
  }
}