You are here

public function CmisBrowser::__construct in CMIS API 8.2

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

Constructing the object.

Parameters

string $config: Entity label.

string $folder_id: CMIS folder id.

array $additional_settings: Show additional_settings in field browser formatter.

File

src/CmisBrowser.php, line 99

Class

CmisBrowser
Description of CmisBrowser.

Namespace

Drupal\cmis

Code

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